spi/pxa2xx: Convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 8 Apr 2013 10:19:33 +0000 (15:49 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Apr 2013 12:31:36 +0000 (13:31 +0100)
commitcbfd6a21b6fae968d10374bc5913823573b517ef
tree56a3fdc6da40dac3b18bb15f45502e86abc1434a
parentf333a331adfacf8c7a9dbf7e5f72b10a0356156b
spi/pxa2xx: 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>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pxa2xx.c