Skip to content
Commit 492ff9d8 authored by Phil Reid's avatar Phil Reid Committed by Sebastian Reichel
Browse files

power: sbs-battery: Use devm_power_supply_register



Use devm_power_supply_register instead of power_supply_register.
Remove call to power_supply_unregister.

Signed-off-by: default avatarPhil Reid <preid@electromag.com.au>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent d2cec82c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment