]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: sbs-battery: fix CAPACITY_MODE bit naming
authorJean-Francois Dagenais <jeff.dagenais@gmail.com>
Fri, 1 Nov 2019 19:07:03 +0000 (15:07 -0400)
committerSebastian Reichel <sre@kernel.org>
Thu, 19 Dec 2019 01:11:18 +0000 (02:11 +0100)
commit3a8f88109ec17358d9fae7e3d262080bf89bbf79
tree68c7a9d34fe5587c3b8f0e32ca0f1d0cf42755c6
parent31dd5a01ec8c8c07e4007f2d3f4f6c907bb75d66
power: supply: sbs-battery: fix CAPACITY_MODE bit naming

"Battery mode" is the name of the register, the bit manipulated by this
code is "CAPACITY_MODE" (Smart Battery System Specifications).

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c