diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-09 12:52:37 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:40 +0100 |
| commit | 698d93debbc5b40f7c70bdb9dc355fd1bb78ada6 (patch) | |
| tree | addb28677ecd87b1ab372632b771614acc2f4d27 /samples | |
| parent | f7548a939b241c36e671db54bed6c2b8d5ce2291 (diff) | |
| download | linux-698d93debbc5b40f7c70bdb9dc355fd1bb78ada6.tar.gz linux-698d93debbc5b40f7c70bdb9dc355fd1bb78ada6.tar.bz2 linux-698d93debbc5b40f7c70bdb9dc355fd1bb78ada6.zip | |
cpufreq/amd-pstate: convert mutex use to guard()
[ Upstream commit 6c093d5a5b73ec1caf1e706510ae6031af2f9d43 ]
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>
Stable-dep-of: 3ace20038e19 ("cpufreq/amd-pstate: Fix cpufreq_policy ref counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
