diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-03-21 17:34:06 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-04-29 00:15:24 +0200 |
commit | 11741b8e382d34b13277497ab91123d8b0b5c2db (patch) | |
tree | 65ee9d5ebeb4be7854af9e91b8b2953189a6507d /scripts/lib/kdoc/kdoc_output.py | |
parent | 883730c192b5cf9d72cabefd83bfb3dcd1aadb6f (diff) |
power: supply: max77705: Fix workqueue error handling in probe
The create_singlethread_workqueue() doesn't return error pointers, it
returns NULL. Also cleanup the workqueue on the error paths.
Fixes: a6a494c8e3ce ("power: supply: max77705: Add charger driver for Maxim 77705")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/547656e3-4a5f-4f2e-802b-4edcb7c576b0@stanley.mountain
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions