diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-04-21 17:00:35 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-05-23 08:48:55 +0100 |
commit | f41cc37f4bc0e8cd424697bf6e26586cadcf4b9b (patch) | |
tree | 8347df4d5ea0a93b5a7345cd5d88013375920ca3 /scripts/lib/kdoc/kdoc_files.py | |
parent | b70b84556eeca5262d290e8619fe0af5b7664a52 (diff) |
mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe()
If devm_of_platform_populate() fails, some clean-up needs to be done, as
already done in the remove function.
Add a new devm_add_action_or_reset() to fix the leak in the probe and
remove the need of a remove function.
Fixes: c695abab2429 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/69471e839efc0249a504492a8de3497fcdb6a009.1745247209.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions