]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffffb40ebda86c07953e942c6661ea56b9f6a4f0
tree4d06eea59cbb4039ea3d427f1177d2e8fcbbafba
parent69a33b4efd1d57087ac0fcdb5a386993cc60c564
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