x86/olpc/xo1/sci: Use newly added power_supply_put API
Replace direct usage of put_device() with new API: power_supply_put(). Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: NPavel Machek <pavel@ucw.cz> Reviewed-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Reviewed-by: NSebastian Reichel <sre@kernel.org> Acked-by: NIngo Molnar <mingo@kernel.org> Signed-off-by: NSebastian Reichel <sre@kernel.org>
Showing
想要评论请 注册 或 登录