diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-04 07:45:32 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-03-11 16:09:02 +0100 |
commit | 6bc51b662241738ac292ffa021b345c2aa604230 (patch) | |
tree | 7a4277676037adbd49733b99c78b2b680d3d6d04 /drivers/thermal/rcar_thermal.c | |
parent | thermal: rcar: fix missing unlock on error in rcar_thermal_update_temp() (diff) | |
download | linux-6bc51b662241738ac292ffa021b345c2aa604230.tar.xz linux-6bc51b662241738ac292ffa021b345c2aa604230.zip |
Thermal: dove: 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>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/rcar_thermal.c')
0 files changed, 0 insertions, 0 deletions