staging: Convert to devm_ioremap_resource()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 10:09:19 +0000 (11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 19:41:57 +0000 (11:41 -0800)
commit97f4be60178fec663baaa30a09ae102fd33373c2
tree672ee4161bc389ec4840c413e4609ee779edba84
parent8cbce1e5f00ec68ee1c99f57db98c892db227629
staging: Convert to devm_ioremap_resource()

Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() 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: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/mxs-lradc.c
drivers/staging/nvec/nvec.c
drivers/staging/omap-thermal/omap-bandgap.c