]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 20 May 2013 15:36:28 +0000 (23:36 +0800)
commite74bcfdc44eb2fcfef0f6a4f36cb6df9b9d0018e
treebb33920d7dfd5282821a316dd051489a413c7793
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