diff options
author | Tony Lindgren <[email protected]> | 2021-01-10 21:53:56 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2021-01-14 23:42:42 +0100 |
commit | 6ddcec581fdc1b9026dd1996b9f8b834c11d868f (patch) | |
tree | 5c9b91580748a74256601e2d8cb7ffb2c0132982 /include/linux/compiler_attributes.h | |
parent | 5a21489207a52f825458d0c190bfca06e36f17e0 (diff) |
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 <[email protected]>
Cc: Carl Philipp Klemm <[email protected]>
Cc: Merlijn Wajer <[email protected]>
Cc: Pavel Machek <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions