cpufreq/amd-pstate: convert mutex use to guard()
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Dec 2024 18:52:37 +0000 (12:52 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Dec 2024 16:44:52 +0000 (10:44 -0600)
commit6c093d5a5b73ec1caf1e706510ae6031af2f9d43
tree2afa4b3894e95c446cd249cb57d3f45498a1b1ae
parent4dcd130151a654108a414b298df9e21a0d3575c9
cpufreq/amd-pstate: convert mutex use to guard()

Using scoped guard declaration will unlock mutexes automatically.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-5-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c