mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 06:34:17 +08:00
917362135b
Some x86 machines use a max17047 fuel-gauge and x86 might be missing platform_data if not provided by SFI. This commit adds default platform_data as fallback option so that the driver can work on boards where no platform_data is provided. Since not all boards have a thermistor hooked up, set temp_min to 0 and change the health checks from temp <= temp_min to temp < temp_min to not trigger on such boards (where temp reads 0). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
||
---|---|---|
.. | ||
ab8500.h | ||
bq27xxx_battery.h | ||
bq2415x_charger.h | ||
bq24735-charger.h | ||
charger-manager.h | ||
generic-adc-battery.h | ||
gpio-charger.h | ||
isp1704_charger.h | ||
jz4740-battery.h | ||
max8903_charger.h | ||
max17042_battery.h | ||
sbs-battery.h | ||
smartreflex.h | ||
smb347-charger.h | ||
twl4030_madc_battery.h |