diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-10-19 19:05:59 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-10-31 19:32:17 -0700 |
commit | d377aba193111419341fabaec6cab92df25e1b28 (patch) | |
tree | acad1addb9c710ff8663ca17e0099ee184e2648a /drivers/thermal/qcom-spmi-temp-alarm.c | |
parent | 07209fcf33542c1ff1e29df2dbdf8f29cdaacb10 (diff) | |
download | op-kernel-dev-d377aba193111419341fabaec6cab92df25e1b28.zip op-kernel-dev-d377aba193111419341fabaec6cab92df25e1b28.tar.gz |
thermal/drivers/generic-iio-adc: Switch tz request to devm version
Everything mentionned here:
https://lkml.org/lkml/2016/4/20/850
This driver was added before the devm_iio_channel_get() function version was
merged. The sensor should be released before the iio channel, thus we had to
use the non-devm version of thermal_zone_of_sensor_register().
Now the devm_iio_channel_get() is available, do the corresponding change in
this driver and remove gadc_thermal_remove().
[Compiled tested only]
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/qcom-spmi-temp-alarm.c')
0 files changed, 0 insertions, 0 deletions