From patchwork Sun Feb 9 09:12:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 24382 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DF9A120967 for ; Sun, 9 Feb 2014 09:13:29 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id ar20sf16458545iec.1 for ; Sun, 09 Feb 2014 01:13:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=ZSlkmT96nIsm8GxTq5JEy9u2MPV8YByuPQelLqtl+lM=; b=OmBfH5DzDTOAqVAswzbRs7NBtCo9elHZ5ug9nBfG5BgCfdIPw/U7W/RUiYd1okT3Ml 4AmbebVbv97gbGEH+3yPGdp7+EX5m03Y+MMzrfCxTiRyyZ71hw23OpLAZCa3ilT+abus 4BJaVyunHQpT7+LGg5H5UWTOK439OPuoo9EoX3SaCWsydiJ966HqXN2JRiAC8YyoeDqM BqQnlsOZH8nNlqp9RLCfikgEnt1sVdgswrzdB6ZOkkX4Gt/LrtSzNtYU5diNpVN2R+71 J7m3XBr6E2MvpCNp3Tw+BfeTYVsFBgSADMmt3EcABx6F8LN5cLhYvL+vzRs+/XlU00jV 3hLg== X-Gm-Message-State: ALoCoQkzbBsHbvU7eEg8H5HLTnmQhlMDrBFXwq/utmwV3kQBUagSusQuZO9T65qn6c9UZVGzRep+ X-Received: by 10.182.87.2 with SMTP id t2mr9978913obz.2.1391937208866; Sun, 09 Feb 2014 01:13:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.149 with SMTP id c21ls1678655qgd.52.gmail; Sun, 09 Feb 2014 01:13:28 -0800 (PST) X-Received: by 10.52.30.167 with SMTP id t7mr180642vdh.36.1391937208802; Sun, 09 Feb 2014 01:13:28 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id uw4si3443704vdc.105.2014.02.09.01.13.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Feb 2014 01:13:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id le5so3890653vcb.2 for ; Sun, 09 Feb 2014 01:13:28 -0800 (PST) X-Received: by 10.220.175.198 with SMTP id bb6mr217000vcb.31.1391937208729; Sun, 09 Feb 2014 01:13:28 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp87126vcz; Sun, 9 Feb 2014 01:13:28 -0800 (PST) X-Received: by 10.66.51.137 with SMTP id k9mr19073715pao.11.1391937207859; Sun, 09 Feb 2014 01:13:27 -0800 (PST) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx.google.com with ESMTPS id ek3si11108213pbd.235.2014.02.09.01.13.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Feb 2014 01:13:27 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.175 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.192.175; Received: by mail-pd0-f175.google.com with SMTP id w10so4864527pde.6 for ; Sun, 09 Feb 2014 01:13:27 -0800 (PST) X-Received: by 10.68.201.97 with SMTP id jz1mr30839760pbc.26.1391937207406; Sun, 09 Feb 2014 01:13:27 -0800 (PST) Received: from localhost ([39.181.45.91]) by mx.google.com with ESMTPSA id db3sm30809876pbb.10.2014.02.09.01.13.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 09 Feb 2014 01:13:26 -0800 (PST) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, patches@linaro.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [Update][PATCH 1/2] ACPI / processor: Replace hard-coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID Date: Sun, 9 Feb 2014 17:12:27 +0800 Message-Id: <1391937147-5250-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code readability. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index a4eea9a..f31d0fb 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -390,5 +390,5 @@ void __init acpi_early_processor_set_pdc(void) acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, early_init_pdc, NULL, NULL, NULL); - acpi_get_devices("ACPI0007", early_init_pdc, NULL, NULL); + acpi_get_devices(ACPI_PROCESSOR_DEVICE_HID, early_init_pdc, NULL, NULL); }