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: NPhil Reid <preid@electromag.com.au> Signed-off-by: NSebastian Reichel <sre@kernel.org>
Showing
想要评论请 注册 或 登录