diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-09-25 11:03:00 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-10-22 17:42:19 -0700 |
commit | 9c9ae8da710639790f1d45b1a55d28ee70734c11 (patch) | |
tree | 5c303bf5e8d3783c49f14c46d7b96398e6272bda /kernel | |
parent | c90aaeccc7c6a8967f3efd43048eeae51072251c (diff) |
thermal/drivers/hisi: Change the driver to be sensor oriented
In order to support multiple sensors, we have to change the code to
deal with sensors and not the hisi thermal structure.
Add a back pointer to the hisi thermal structure (containerof is not a
good option because later we convert the sensor field to a pointer).
Change the functions parameters to take a sensor instead of this hisi
thermal 'data' structure.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions