power: supply: charger-manager: Always use POWER_SUPPLY_PROP_TEMP
authorJonathan Bakker <xc-racer2@live.ca>
Thu, 14 May 2020 23:04:28 +0000 (16:04 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 28 Aug 2020 17:05:57 +0000 (19:05 +0200)
commitcdaeb15157cd3be32fcf05c668a70c8f7e009d5e
treec7df42127f570223f5cc4ee5b930307c204e8bf9
parent9584051f3cf3af181e577960956bb7c085879b67
power: supply: charger-manager: Always use POWER_SUPPLY_PROP_TEMP

We were using POWER_SUPPLY_PROP_TEMP if the temperature was coming
via the fuel gauge and POWER_SUPPLY_PROP_TEMP_AMBIENT if it was
coming via the thermal framework.  Since they're mutually
exclusive in the driver and we don't know if the thermal framework
 is ambient or not, unify them both to use POWER_SUPPLY_PROP_TEMP.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/charger-manager.c