diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-17 13:39:52 -0600 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-12-19 16:15:36 +0200 |
| commit | 03f8e0e05510dad6377cd5ef029594d30e6c096d (patch) | |
| tree | 053129d49ccb0ed122a9d8fbfcf7c6cc1257cc47 /drivers/fpga/fpga-bridge.c | |
| parent | f947ea8dd657ed70c0c02b35ac485a24366201d3 (diff) | |
platform/x86/amd: pmf: Switch to guard(mutex)
Instead of using the `goto label; mutex_unlock()` pattern use
`guard(mutex)` which will release the mutex when it goes out of scope.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20241217194027.1189038-3-superm1@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
