]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: convert qcom-spmi to use devm_thermal_zone_of_sensor_register
authorEduardo Valentin <edubezval@gmail.com>
Wed, 9 Mar 2016 21:08:48 +0000 (13:08 -0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:26 +0000 (07:28 -0700)
commite936491e5c005620951fe5d67e441b936f583702
treef0ba5c9c7c89afeca80e89444868c5a6d6de17f8
parentc417bdedb14c12671a199bb5d4f3b78b438598b3
thermal: convert qcom-spmi 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/qcom-spmi-temp-alarm.c