power: supply: cpcap-battery: improve handling of 3rd party batteries.
authorCarl Philipp Klemm <philipp@uvos.xyz>
Sat, 31 Oct 2020 11:56:50 +0000 (12:56 +0100)
committerSebastian Reichel <sre@kernel.org>
Tue, 29 Dec 2020 23:40:22 +0000 (00:40 +0100)
commit34fb2a952ba80cab5e331b52ae524b6b71f45cb5
treecf9951bd80b4557c21dab5fdb220b7cb0ad1ffbd
parent1027a42c25cbf8cfc4ade6503c5110aae04866af
power: supply: cpcap-battery: improve handling of 3rd party batteries.

Adds a module option to ignore a missing temperature sensor.
Useful for 3rd party batteries.

Signed-off-by: Carl Philipp Klemm <carl@uvos.xyz>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/cpcap-battery.c