aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLiam Breck <[email protected]>2017-04-16 16:06:26 -0700
committerSebastian Reichel <[email protected]>2017-05-01 11:52:15 +0200
commit1eb2869b3c90f4e7971515ddbe92f9e0d18827f5 (patch)
treef6d20000d5fd1610a99562c05ede944a23a8e0f3 /net/lapb/lapb_subr.c
parent2848e039c562a5278cd2ebc5b005c0f1a381b34e (diff)
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 <[email protected]> Cc: Hans de Goede <[email protected]> Signed-off-by: Liam Breck <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions