]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4486948d294ecec7f9b1dcc74f18b2d025e6a83b
tree7c7e55fed1e6dd298fba32bf460460fc69a5f4ad
parent3573e5e7fc6caeb092a4390d3a5945926dcb195a
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