diff options
author | 2021-01-10 21:53:56 +0200 | |
---|---|---|
committer | 2021-01-14 23:42:42 +0100 | |
commit | 6ddcec581fdc1b9026dd1996b9f8b834c11d868f (patch) | |
tree | 5c9b91580748a74256601e2d8cb7ffb2c0132982 /mm/debug.c | |
parent | power: supply: cpcap-charger: Drop internal state and use generic stats (diff) | |
download | wireguard-linux-6ddcec581fdc1b9026dd1996b9f8b834c11d868f.tar.xz wireguard-linux-6ddcec581fdc1b9026dd1996b9f8b834c11d868f.zip |
power: supply: cpcap-charger: Simplify things with enable and disable
Let's turn cpcap_charger_set_state() into separate cpcap_charger_enable()
and cpcap_charger_disable() to simplify things, and to allow managing
status separately. This can be then used for the follow-up patches to
make battery full status behave a bit nicer.
Cc: Arthur Demchenkov <spinal.by@gmail.com>
Cc: Carl Philipp Klemm <philipp@uvos.xyz>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions