Re: [PATCH] pinctrl: pinctrl-imx: Remove unneeded check for platform_get_resource()

From: Linus Walleij
Date: Mon Jul 22 2013 - 19:21:18 EST


On Mon, Jul 22, 2013 at 3:16 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote:

> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>
> As devm_ioremap_resource() is used on probe, there is no need to explicitly
> check the return value from platform_get_resource(), as this is something that
> devm_ioremap_resource() takes care by itself.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Applied with Shawn's ACK.

Yours,
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/