thermal: ti-soc-thermal: Remove redundant code
authorKeerthy <j-keerthy@ti.com>
Thu, 9 Mar 2017 08:06:02 +0000 (13:36 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 30 Mar 2017 05:15:18 +0000 (22:15 -0700)
commitb263b473bf62dfd4aa10fc9068b2c78b1b20f202
tree4d06eea59cbb4039ea3d427f1177d2e8fcbbafba
parent004f772871315091e671b0979047d9a88c1061fd
thermal: ti-soc-thermal: Remove redundant code

ti_thermal_expose_sensor always takes the
devm_thermal_zone_of_sensor_register call for registration
with the device tree nodes present for all the bandgap sensors
for omap3/4/5 and dra7 family. There are large chunks of unused
code. Removing all of them.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-thermal-common.c