mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: dmukhin@ford.com
To: "Rafael J . Wysocki" <rafael@kernel.org>,
	Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Denis Mukhin <dmukhin@ford.com>
Subject: [PATCH 1/2] acpi: Use METHOD_NAME__UID instead of open-coded _UID
Date: Wed, 12 Aug 2026 19:41:28 -0700	[thread overview]
Message-ID: <20260813024129.905583-2-dmukhin@ford.com> (raw)
In-Reply-To: <20260813024129.905583-1-dmukhin@ford.com>

From: Denis Mukhin <dmukhin@ford.com> 

Signed-off-by: Denis Mukhin <dmukhin@ford.com>
---
 drivers/acpi/acpi_processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 00775b91bd41..cb39e4a30f0e 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -739,7 +739,7 @@ static acpi_status __init acpi_processor_ids_walk(acpi_handle handle,
 		break;
 
 	case ACPI_TYPE_DEVICE:
-		status = acpi_evaluate_integer(handle, "_UID", NULL, &uid);
+		status = acpi_evaluate_integer(handle, METHOD_NAME__UID, NULL, &uid);
 		if (ACPI_FAILURE(status))
 			goto err;
 		break;
-- 
2.54.0


  reply	other threads:[~2026-08-13  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13  2:41 [PATCH 0/2] acpi: add kernel option to skip binding drivers to certain devices dmukhin
2026-08-13  2:41 ` dmukhin [this message]
2026-08-13  2:41 ` [PATCH 2/2] acpi: bus: Introduce acpi.skip_ids= boot parameter dmukhin
2026-08-13 10:09   ` Rafael J. Wysocki (Intel)
2026-08-13 22:43     ` dmukhin

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=20260813024129.905583-2-dmukhin@ford.com \
    --to=dmukhin@ford.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@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

all inboxes | Powered by JetHome®