gpio/vt8500: Convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 4 Mar 2013 09:09:39 +0000 (14:39 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:10 +0000 (16:05 +0100)
commit808c513ee64be7cec6a7dcfff1687bc0995362bc
tree770c015fade5216691ed3fd258f1ec3e1753fd68
parent1cfe6f8cb1078039a0f8dfc833a4ae752220d2db
gpio/vt8500: Convert to devm_ioremap_resource()

Use the newly introduced devm_ioremap_resource() instead of
devm_request_and_ioremap() which provides more consistent error handling.

devm_ioremap_resource() provides its own error messages; so all explicit
error messages can be removed from the failure code paths.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vt8500.c