commit | 49e778d1c750d5b1f773edeb93dfef963bef3f21 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Sep 25 11:03:01 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Oct 22 17:42:41 2018 -0700 |
tree | 224647a9696eb6e4b9844aa85ddcf8248e8cac1a | |
parent | 9c9ae8da710639790f1d45b1a55d28ee70734c11 [diff] |
thermal/drivers/hisi: Set the thermal zone private data to the sensor pointer Store the sensor pointer in the thermal zone private data and use it in the callback functions. That allows to continue the conversion to sensor oriented code where the pointers are the sensors. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>