commit | c90aaeccc7c6a8967f3efd43048eeae51072251c | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Sep 25 11:02:59 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Oct 22 17:41:48 2018 -0700 |
tree | ae19772ca44898bf11de17b72cbe5485e8d393fd | |
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>