power: supply: cpcap-charger: Fix missing power_supply_put()
authorTony Lindgren <tony@atomide.com>
Sun, 10 Jan 2021 19:53:49 +0000 (21:53 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 14 Jan 2021 22:42:13 +0000 (23:42 +0100)
commit4bff91bb3231882b530af794c92ac3a5fe199481
treef9b51c157526d3417663032acedaa8fd420dc98d
parentc82a2fbe6c02d5caf5a3312f6ea119da450ccee0
power: supply: cpcap-charger: Fix missing power_supply_put()

Fix missing power_supply_put().

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>
Fixes: 5688ea049233 ("power: supply: cpcap-charger: Allow changing constant charge voltage")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-charger.c