Thermal: don't check resource with devm_ioremap_resource
authorZhang Rui <rui.zhang@intel.com>
Thu, 16 May 2013 02:16:21 +0000 (02:16 +0000)
committerZhang Rui <rui.zhang@intel.com>
Tue, 28 May 2013 02:11:02 +0000 (10:11 +0800)
commitc21bec86b6e36143a1fc0be60bbd9dfaebcb88a0
tree6843a34244c6066b4ff1909be70e8cee71fa78a2
parent253e3ae170d0852620dd9898807a22401d831dc4
Thermal: don't check resource with devm_ioremap_resource

devm_ioremap_resource does sanity checks on the given resource.
No need to duplicate this in the driver.

CC: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
CC: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
drivers/thermal/armada_thermal.c
drivers/thermal/spear_thermal.c