]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3aedc0da9edb0646733853185d79f5e583412cf4
treec4f59b0b4c7f4ba4693374ee2455c721ab6444df
parent96987476efbd039a76efcdb6294f709c0445ed77
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