]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal/drivers/exynos: Simplify regulator (de)initialization
authorMateusz Majewski <m.majewski2@samsung.com>
Fri, 1 Dec 2023 09:56:21 +0000 (10:56 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jan 2024 08:33:19 +0000 (09:33 +0100)
commit5d6976d01414f23af4b81d7f91cfd59839c8b1fe
tree7c521d89f58d48876f8512aed2b48377d6b2733f
parent52ef6f567e6b9a878a8e0e5d6367aa65a08227a5
thermal/drivers/exynos: Simplify regulator (de)initialization

We rewrite the initialization to enable the regulator as part of devm,
which allows us to not handle the struct instance manually.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link:
https://lore.kernel.org/r/20231201095625.301884-6-m.majewski2@samsung.com
drivers/thermal/samsung/exynos_tmu.c