From: Yuanjiang Yu Date: Mon, 20 Apr 2020 03:42:04 +0000 (+0800) Subject: power: supply: sc27xx: Set 'no_thermal' flag for SC27xx fuel gauge X-Git-Tag: v5.15~3628^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3912a5d56838f78ef2999368e4c7b132262125a;p=platform%2Fkernel%2Flinux-starfive.git power: supply: sc27xx: Set 'no_thermal' flag for SC27xx fuel gauge There is no thermal zone should be created for the SC27XX FGU power supply, thus set the 'no_thermal' flag as true. Signed-off-by: Yuanjiang Yu Signed-off-by: Baolin Wang Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/supply/sc27xx_fuel_gauge.c b/drivers/power/supply/sc27xx_fuel_gauge.c index a7c8a84..9dcd55f 100644 --- a/drivers/power/supply/sc27xx_fuel_gauge.c +++ b/drivers/power/supply/sc27xx_fuel_gauge.c @@ -705,6 +705,7 @@ static const struct power_supply_desc sc27xx_fgu_desc = { .set_property = sc27xx_fgu_set_property, .external_power_changed = sc27xx_fgu_external_power_changed, .property_is_writeable = sc27xx_fgu_property_is_writeable, + .no_thermal = true, }; static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap)