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

2013-07-22 Thread Linus Walleij
On Mon, Jul 22, 2013 at 3:16 AM, Fabio Estevam wrote: > From: Fabio Estevam > > 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-

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

2013-07-22 Thread Shawn Guo
On Sun, Jul 21, 2013 at 10:16:21PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > 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. >

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

2013-07-21 Thread Fabio Estevam
From: Fabio Estevam 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 --- drivers/pinctrl/pinctrl-imx.c | 3 ---