diff options
author | Kang Chen <void0red@gmail.com> | 2023-02-27 04:14:10 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-05-16 00:46:53 +0200 |
commit | 4cbb0d358883a27e432714b5256f0362946f5e25 (patch) | |
tree | ce2c8110276dca88ec99d95240b52a0471c3f4c1 /drivers/regulator/twl6030-regulator.c | |
parent | power: supply: sbs-charger: Fix INHIBITED bit for Status reg (diff) | |
download | linux-4cbb0d358883a27e432714b5256f0362946f5e25.tar.xz linux-4cbb0d358883a27e432714b5256f0362946f5e25.zip |
power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
devm_work_autocancel may fail, add a check and return early.
Fixes: 0402e8ebb8b86 ("power: supply: mt6360_charger: add MT6360 charger support")
Signed-off-by: Kang Chen <void0red@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/regulator/twl6030-regulator.c')
0 files changed, 0 insertions, 0 deletions