Re: Q: return of pinctrl_register and handing at drivers that usethis function

From: Linus Walleij
Date: Mon Jun 18 2012 - 10:38:50 EST


On Mon, Jun 18, 2012 at 2:04 PM, devendra.aaru <devendra.aaru@xxxxxxxxx> wrote:

> So checking the return value of pinctrl_register with IS_ERR is not required.

Nope.

> There are drivers in pinctrl subsystem which uses the IS_ERR and may (not)
> check whether its null or not.
>
> you can expect a patchset of those fixes. :)

Good :-)

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