pinctrl: pinctrl-imx: Remove unneeded check for platform_get_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 22 Jul 2013 01:16:21 +0000 (22:16 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Jul 2013 23:23:28 +0000 (01:23 +0200)
commitf29bdca0db907b4c7c959d381e488b8920487a15
treeff1b56185537a145530bed432422d54b1aa8fe2c
parentf33334978abd01cbf24d067977a25ad0abd047c8
pinctrl: pinctrl-imx: Remove unneeded check for platform_get_resource()

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@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx.c