diff options
author | Liam Breck <kernel@networkimprov.net> | 2017-04-17 01:06:26 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-05-01 11:52:15 +0200 |
commit | 1eb2869b3c90f4e7971515ddbe92f9e0d18827f5 (patch) | |
tree | f6d20000d5fd1610a99562c05ede944a23a8e0f3 /Documentation | |
parent | power: supply: Make power_supply_am_i_supplied return -ENODEV if there are no... (diff) | |
download | linux-1eb2869b3c90f4e7971515ddbe92f9e0d18827f5.tar.xz linux-1eb2869b3c90f4e7971515ddbe92f9e0d18827f5.zip |
power: supply: bq24190_charger: Deprecate battery class and replicate its features in charger
The driver was registering two classes, bq24190-battery & -charger.
Because the power supply framework cannot surface features from multiple
drivers in a single class, a fuel gauge driver would create a third class,
which some power management utilities cannot see.
Deprecate the -battery class for future removal and replicate its features
in -charger. Set /sys/class...-charger/online = pg_stat && !batfet_disable.
If device_property "omit-battery-class" is set, don't register -battery.
Cc: Tony Lindgren <tony@atomide.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions