]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/thermal/spear_thermal.c: add Device Tree probing capability
authorViresh Kumar <viresh.linux@gmail.com>
Thu, 3 May 2012 05:43:23 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:17 +0000 (15:46 +1000)
commita072f4f52784aabefbcab95e4a4acf5f468f3533
tree8edc2f09e726a6eda89747ddb3813fb481793706
parent2c1c40d0ded6f21d03a5254aa62694fb5d3631c3
drivers/thermal/spear_thermal.c: add Device Tree probing capability

SPEAr platforms now support DT and so must convert all drivers to support
DT.  This patch adds DT probing support for SPEAr thermal sensor driver
and updates its documentation too.

Also, as SPEAr is the only user of this driver and is only available with
DT, make this an only DT driver.  So, platform_data is completely removed
and passed via DT now.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/devicetree/bindings/thermal/spear-thermal.txt [new file with mode: 0644]
drivers/thermal/Kconfig
drivers/thermal/spear_thermal.c
include/linux/platform_data/spear_thermal.h [deleted file]