power: charger-manager: fix a potential NULL pointer dereference
In case create_freezable_workqueue fails, the fix return -ENOMEM to avoid a potential NULL pointer dereference. Signed-off-by:Kangjie Lu <kjlu@umn.edu> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
parent
077d9951
Please register or sign in to comment