diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-09-25 11:02:59 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-10-22 17:41:48 -0700 |
commit | c90aaeccc7c6a8967f3efd43048eeae51072251c (patch) | |
tree | ae19772ca44898bf11de17b72cbe5485e8d393fd /block | |
parent | d1d2c290b3c04b65fa6132eeebe50a070746d8f6 (diff) |
thermal/drivers/hisi: Change the platform data pointer to sensor ops
Group the temperature sensor specific ops into a single structure and
assign it to hisi thermal data structure.
Change the platform data pointer to reference the specific sensor ops
instead of the probe functions.
Moving out those allow to split the code to self-encapsulate the
sensor object.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions