power: supply: cpcap-battery: Read and save integrator register CCI
authorTony Lindgren <tony@atomide.com>
Wed, 9 Oct 2019 21:06:20 +0000 (14:06 -0700)
committerSebastian Reichel <sre@kernel.org>
Sun, 20 Oct 2019 18:48:32 +0000 (20:48 +0200)
commitb28ac41950c84d6a9787255a15dcaf2369735464
tree7c7e55fed1e6dd298fba32bf460460fc69a5f4ad
parentac437c1c8438027d08f115445e5963397c04ce5b
power: supply: cpcap-battery: Read and save integrator register CCI

We can simplify code in the later patches by reading and saving the
integrator register CCI. Let's also fix a comment typo for register range
naming while at it.

Cc: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-battery.c