power: supply: cpcap-battery: Add charge_full property
authorArthur Demchenkov <spinal.by@gmail.com>
Sun, 10 Jan 2021 19:53:59 +0000 (21:53 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 14 Jan 2021 22:42:42 +0000 (23:42 +0100)
commit4fb0357c6d57bc8c6fc517e66ece290965e73b11
tree7201b491cac58071a1ef3da4ede43b49a23760ad
parentbb8b9a985083c69a4118c3d8c7d4c32427529992
power: supply: cpcap-battery: Add charge_full property

Add charge_full property and let user update it. This is needed for
capacity reporting in the following patches.

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: Arthur Demchenkov <spinal.by@gmail.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-battery.c