Thermal: spear_thermal: convert to devm_ioremap_resource
authorZhang Rui <rui.zhang@intel.com>
Thu, 16 May 2013 02:16:20 +0000 (02:16 +0000)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:06 +0000 (11:45 +0900)
commit2aad805723133ad3fcced35d03fbcb74fb9be2b6
treee6bed0292fac54ba3ccb1a709b232c5fd8fd92dc
parent79682952e4f7cbcbc36188ed909d5517ed9aab26
Thermal: spear_thermal: convert to devm_ioremap_resource

Use the newly introduced devm_ioremap_resource().

devm_ioremap_resource() provides its own error messages; so all explicit
error messages can be removed from the failure code paths.

CC: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/spear_thermal.c