Searched hist:cbfd6a21b6fae968d10374bc5913823573b517ef (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-pxa2xx.c | diff cbfd6a21b6fae968d10374bc5913823573b517ef Mon Apr 08 05:19:33 CDT 2013 Sachin Kamat <sachin.kamat@linaro.org> 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>
|