diff options
author | 2025-04-21 17:00:33 +0200 | |
---|---|---|
committer | 2025-05-23 08:48:53 +0100 | |
commit | 484f0f59f09edd1f6fa63703c12eb30d72a519ac (patch) | |
tree | 87e70a23b377568b3f286edaee9f25bf8a7c40b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: mfd: mediatek,mt8195-scpsys: Add support for MT6893 (diff) | |
download | linux-rng-484f0f59f09edd1f6fa63703c12eb30d72a519ac.tar.xz linux-rng-484f0f59f09edd1f6fa63703c12eb30d72a519ac.zip |
mfd: exynos-lpass: Fix an error handling path in exynos_lpass_probe()
If an error occurs after a successful regmap_init_mmio(), regmap_exit()
should be called as already done in the .remove() function.
Switch to devm_regmap_init_mmio() to avoid the leak and simplify the
.remove() function.
Fixes: c414df12bdf7 ("mfd: exynos-lpass: Add missing remove() function")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/38414eecb1096840946756ae86887aea2a489c1b.1745247209.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions