drivers/thermal/spear_thermal.c: add Device Tree probing capability
authorViresh Kumar <viresh.linux@gmail.com>
Tue, 29 May 2012 18:18:51 +0000 (11:18 -0700)
committerLen Brown <len.brown@intel.com>
Sat, 2 Jun 2012 05:49:38 +0000 (01:49 -0400)
commitb9c7aff481f19dd655ae3ce6513817d625e2d47c
treed84338cd776c68891522e60e7faa30ac7ad09a91
parent76e10d158efb6d4516018846f60c2ab5501900bc
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: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
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]