power: supply: sbs-manager: use managed i2c_mux_adapter
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 9 Mar 2021 18:04:04 +0000 (19:04 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 2 Apr 2021 12:19:25 +0000 (14:19 +0200)
commit814ddbd9ec0b9344eb390711a115cf6f097f0044
tree8b36115b892ad7a0d676cc19369dac19f8ac6a8e
parent310162f6dd6a93e22d21da059b63292767225d2d
power: supply: sbs-manager: use managed i2c_mux_adapter

Simplify code by using devm_add_action_or_reset to unregister
the i2c_mux_adapter.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-manager.c