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)
committerZhang Rui <rui.zhang@intel.com>
Mon, 20 May 2013 15:36:18 +0000 (23:36 +0800)
commit253e3ae170d0852620dd9898807a22401d831dc4
treec4f59b0b4c7f4ba4693374ee2455c721ab6444df
parentc28f692c6f5a836dc628fb6990fb4d3d1859f779
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