thermal: convert ti-thermal to use devm_thermal_zone_of_sensor_register
authorEduardo Valentin <edubezval@gmail.com>
Wed, 9 Mar 2016 21:12:52 +0000 (13:12 -0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:27 +0000 (07:28 -0700)
commit3982204cc9baab0c28ac48e859acf7692c6159e6
treea7b6ca9cc061c537bd8b204d500aae0123035b37
parent71ca46eeeff3273f6641ab3e30292d3d36f1d3be
thermal: convert ti-thermal to use devm_thermal_zone_of_sensor_register

This changes the driver to use the devm_ version
of thermal_zone_of_sensor_register and cleans
up the  local points and unregister calls.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
This page took 0.02825 seconds and 5 git commands to generate.