X86 platform drivers
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: mario.limonciello@amd.com, hdegoede@redhat.com,
	ilpo.jarvinen@linux.intel.com, Shyam-sundar.S-k@amd.com
Cc: platform-driver-x86@vger.kernel.org
Subject: [PATCH 0/2] Use guard(mutex) for amd platform drivers
Date: Tue, 17 Dec 2024 13:39:50 -0600	[thread overview]
Message-ID: <20241217194027.1189038-1-superm1@kernel.org> (raw)

From: Mario Limonciello <mario.limonciello@amd.com>

Update the PMF and PMC drivers to use guard(mutex) instead of
mutex_lock/mutex_unlock.

Mario Limonciello (2):
  platform/x86/amd: pmc: Use guard(mutex)
  platform/x86/amd: pmf: Switch to guard(mutex)

 drivers/platform/x86/amd/pmc/pmc.c  | 14 ++++++--------
 drivers/platform/x86/amd/pmf/acpi.c |  6 ++----
 drivers/platform/x86/amd/pmf/core.c | 18 ++++++++----------
 3 files changed, 16 insertions(+), 22 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-12-17 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 19:39 Mario Limonciello [this message]
2024-12-17 19:39 ` [PATCH 1/2] platform/x86/amd: pmc: Use guard(mutex) Mario Limonciello
2024-12-17 19:39 ` [PATCH 2/2] platform/x86/amd: pmf: Switch to guard(mutex) Mario Limonciello
2024-12-19 14:35 ` [PATCH 0/2] Use guard(mutex) for amd platform drivers Ilpo Järvinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241217194027.1189038-1-superm1@kernel.org \
    --to=superm1@kernel.org \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=mario.limonciello@amd.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox