[PATCH 1/1] spi/pxa2xx: Convert to devm_ioremap_resource()

2013-04-08 Thread Sachin Kamat
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 --

Re: [PATCH 1/1] spi/pxa2xx: Convert to devm_ioremap_resource()

2013-04-08 Thread Eric Miao
On Mon, Apr 8, 2013 at 6:19 PM, Sachin Kamat wrote: > 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