]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pmdomain: rockchip: cleanup mutex handling in rockchip_pd_power
authorSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 20 Feb 2025 18:58:05 +0000 (19:58 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 28 Feb 2025 11:52:34 +0000 (12:52 +0100)
commit83b2fbac8982f7c15dc53b1f9a7b18a9b028fc77
tree24faad1cbd3309639e1bb8c2ec1ce21c2acc213f
parent53d956d60c9ebc47f581c86e4924fc4c54d76a3b
pmdomain: rockchip: cleanup mutex handling in rockchip_pd_power

Use the cleanup infrastructure to handle the mutex, which
slightly improve code readability for this function.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Adrian Larumbe <adrian.larumbe@collabora.com> # On Rock 5B
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20250220-rk3588-gpu-pwr-domain-regulator-v6-2-a4f9c24e5b81@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/rockchip/pm-domains.c