power: charger-manager: Use thermal subsystem interface only to get temperature.
MyungJoo Ham
Acked-byQuoted 6 lines
It drops the way of using
power_supplyinterface to reference battery's
temperature. Then it tries to use thermal subsystem's only. This makes driver more simple and also can remove ifdeferies.Signed-off-by Jonghwa Lee <[email protected]>
Acked-by MyungJoo Ham <[email protected]>
Quoted 6 lines
--- drivers/power/Kconfig | 1 + drivers/power/charger-manager.c | 113 ++++++++------------------------- include/linux/power/charger-manager.h | 3 +- 3 files changed, 28 insertions(+), 89 deletions(-)