Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933000AbdCUXJl (ORCPT ); Tue, 21 Mar 2017 19:09:41 -0400 Received: from userp1050.oracle.com ([156.151.31.82]:51009 "EHLO userp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932742AbdCUXJk (ORCPT ); Tue, 21 Mar 2017 19:09:40 -0400 From: Ankur Arora To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: Ankur Arora Subject: [PATCH 1/2 v2] xen/acpi: Replace hard coded "ACPI0007" Date: Tue, 21 Mar 2017 15:43:37 -0700 Message-Id: <1490136218-3857-2-git-send-email-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490136218-3857-1-git-send-email-ankur.a.arora@oracle.com> References: <1490136218-3857-1-git-send-email-ankur.a.arora@oracle.com> X-Source-IP: userp1040.oracle.com [156.151.31.81] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 23 Replace hard coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Ankur Arora --- drivers/xen/xen-acpi-processor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index 4ce10bc..fac0d7b 100644 --- a/drivers/xen/xen-acpi-processor.c +++ b/drivers/xen/xen-acpi-processor.c @@ -408,7 +408,7 @@ static int check_acpi_ids(struct acpi_processor *pr_backup) acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, read_acpi_id, NULL, NULL, NULL); - acpi_get_devices("ACPI0007", read_acpi_id, NULL, NULL); + acpi_get_devices(ACPI_PROCESSOR_DEVICE_HID, read_acpi_id, NULL, NULL); upload: if (!bitmap_equal(acpi_id_present, acpi_ids_done, nr_acpi_bits)) { -- 2.7.4