]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: omap-usb-host: Convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 9 Apr 2013 10:46:36 +0000 (16:16 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 13:01:31 +0000 (15:01 +0200)
commitd011c450814eb6b5418c84dd0cac8b6eb99c42dc
treed30a17253a7150bc6ee2e8ea396618745bcb9728
parentab85b120e6925203e4b63022166eacac19009380
mfd: omap-usb-host: 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: Roger Quadros <rogerq@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/omap-usb-host.c