power: supply: axp288_fuel_gauge: Remove polling from the driver
authorHans de Goede <hdegoede@redhat.com>
Wed, 18 Apr 2018 12:07:24 +0000 (14:07 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Wed, 25 Apr 2018 22:49:52 +0000 (00:49 +0200)
commita78c0c30ec73e90d1b5d8b06f593091d9b9f76d3
tree2aeef5350bd810a0ad803ed03224fc6702fe3508
parent04d6f72f68eac61abbdaf56dcbfcc8382542f07e
power: supply: axp288_fuel_gauge: Remove polling from the driver

Userspace class/power_supply consumers such as upower, already know some
supplies need to be polled to get up2date info. Doing this in the kernel
and then waking up userspace just causes unnecessary wakeups and i2c
transfers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/axp288_fuel_gauge.c