lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Q: return of pinctrl_register and handing at drivers that use this function
From
Hi Linus,

On Wed, Jun 20, 2012 at 1:22 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> I mean it shall be tested like this:
>
> if (!pinmctrl_register(&foo)) {
>    /* error case */
> }
>
> No IS_ERR() business.
>
Yeah, and you already took the changes into your brach :-). Thanks!
> Linus

Devendra
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-06-20 20:02    [W:0.038 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site