summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-11-24 04:19:32 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-11-26 23:14:32 +0100
commitc4d33381b134da188ccd1084aef21e2b8c3c422e (patch)
treefe46d2a4d56e597149c9d2a3dcf6eede0fcb5fde /.get_maintainer.ignore
parentpower: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe() (diff)
downloadlinux-c4d33381b134da188ccd1084aef21e2b8c3c422e.tar.xz
linux-c4d33381b134da188ccd1084aef21e2b8c3c422e.zip
power: supply: ab8500: Fix error handling in ab8500_charger_init()
The ab8500_charger_init() returns the platform_driver_register() directly without checking its return value, if platform_driver_register() failed, all ab8500_charger_component_drivers are not unregistered. Fix by unregister ab8500_charger_component_drivers when platform_driver_register() failed. Fixes: 1c1f13a006ed ("power: supply: ab8500: Move to componentized binding") Signed-off-by: Yuan Can <yuancan@huawei.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions