diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-10-19 19:06:00 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-11-01 03:32:17 +0100 |
commit | 7a4ca51b704038d1d7f5e31177a7fa4d9dcb839e (patch) | |
tree | befd9504423165d7265cb3a6421120fd40978087 /drivers/thermal/hisi_thermal.c | |
parent | thermal/drivers/generic-iio-adc: Switch tz request to devm version (diff) | |
download | linux-7a4ca51b704038d1d7f5e31177a7fa4d9dcb839e.tar.xz linux-7a4ca51b704038d1d7f5e31177a7fa4d9dcb839e.zip |
thermal/drivers/qcom-spmi: Use devm_iio_channel_get
The iio_channel_get() function has now its devm_ version.
Use it and remove all the rollback code for iio_channel_release() as well
as the .remove ops.
[Compiled tested only]
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/hisi_thermal.c')
0 files changed, 0 insertions, 0 deletions