ACPI: platform_profile: Use guard(mutex) for register/unregister
guard(mutex) can be used to automatically release mutexes when going out of scope. Tested-by:Mark Pearson <mpearson-lenovo@squebb.ca> Tested-by:
Matthew Schwartz <matthew.schwartz@linux.dev> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Reviewed-by:
Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by:
Armin Wolf <W_Armin@gmx.de> Signed-off-by:
Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20241206031918.1537-9-mario.limonciello@amd.com Signed-off-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Loading
Please register or sign in to comment