thermal: convert hisi_thermal to use devm_thermal_zone_of_sensor_register
authorEduardo Valentin <edubezval@gmail.com>
Wed, 9 Mar 2016 21:07:13 +0000 (13:07 -0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:26 +0000 (07:28 -0700)
commit44a520d81e70eac35833b0c2dc24d8daa371f557
tree52b565032a2ab37e65ed4ccbae266d6822efc07f
parente28d0c9cd381e115c2270bf1d6fe4de95289234a
thermal: convert hisi_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-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c
This page took 0.023991 seconds and 5 git commands to generate.