Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: supply: mt6360: add a check of devm_work_autocancel in mt6360_…
…charger_probe commit 4cbb0d3 upstream. devm_work_autocancel may fail, add a check and return early. Fixes: 0402e8e ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information