power: supply: axp288_fuel_gauge: Do not register FG on ECS EF20EA
authorCarlo Caione <carlo@endlessm.com>
Fri, 16 Feb 2018 08:26:16 +0000 (08:26 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 9 Mar 2018 16:21:11 +0000 (17:21 +0100)
commit7638eb5666eb3c216dfdef63b573933ed9740676
treef91f9b4b13a69bbbbbf1dae1e2d9b1203592cea9
parentd85b4f7b7fae40aabacc3fe11ded95b4a2bbc49f
power: supply: axp288_fuel_gauge: Do not register FG on ECS EF20EA

The ECS EF20EA laptop ships an AXP288 but it is actually using a
different, separate FG chip for AC and battery monitoring. On this
laptop we need to keep using the regular ACPI driver and disable the
AXP288 FG to avoid reporting two batteries to userspace.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/axp288_fuel_gauge.c