From patchwork Mon Aug 20 21:01:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 1351041 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 436C5E0002 for ; Mon, 20 Aug 2012 21:02:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754972Ab2HTVC3 (ORCPT ); Mon, 20 Aug 2012 17:02:29 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:64047 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755076Ab2HTVCQ (ORCPT ); Mon, 20 Aug 2012 17:02:16 -0400 Received: by wibhq12 with SMTP id hq12so3805979wib.1 for ; Mon, 20 Aug 2012 14:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=DF6E1iSjyQhYONs1HQGWP+GZ25NjBqdZZBTTVxPu0ts=; b=nWULu3KpY7mz/xSCapfVPpZrOhWRrewK/HkvcD+LqU3jdMoTCrsrDKaz05HkfmgR98 VzrMesAGkZ5LyCnF0QB/Rp09aoOwcMQLOL+q6XOqOQUcmN1MEoxBgB02K6M0l8QIsuty T9g784T5HqHwRx2caZ8QHPI+0/nd+ow7Vqa2WRK+dtd7i90EHeozbJ3Lx09Wg6v/8l3s 2AS2IPnHRIu9wyXll10e4IecUCHK5Ns6AKt2DfRPfMQBA12f+8xi0hn0fpkC8aYWDul2 Kyjy70wpvjtAlrI8lOxVaQQbYvkItcjT14AJpZpsd5APiiE1We82N5YMikbhakuummgt rAmQ== Received: by 10.180.91.169 with SMTP id cf9mr37229064wib.1.1345496534142; Mon, 20 Aug 2012 14:02:14 -0700 (PDT) Received: from localhost.localdomain (iksaif.net. [83.157.108.74]) by mx.google.com with ESMTPS id fb20sm44393601wid.1.2012.08.20.14.02.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 14:02:12 -0700 (PDT) From: Corentin Chary To: Matthew Garrett Cc: linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org, Corentin Chary , Matthew Garrett , acpi4asus-user@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] asus-laptop: HRWS/HWRS typo Date: Mon, 20 Aug 2012 23:01:51 +0200 Message-Id: <1345496512-11780-3-git-send-email-corentin.chary@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345496512-11780-1-git-send-email-corentin.chary@gmail.com> References: <1345496512-11780-1-git-send-email-corentin.chary@gmail.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index e38f91b..110c777 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -863,9 +863,9 @@ static ssize_t show_infos(struct device *dev, * The significance of others is yet to be found. * If we don't find the method, we assume the device are present. */ - rv = acpi_evaluate_integer(asus->handle, "HRWS", NULL, &temp); + rv = acpi_evaluate_integer(asus->handle, "HWRS", NULL, &temp); if (!ACPI_FAILURE(rv)) - len += sprintf(page + len, "HRWS value : %#x\n", + len += sprintf(page + len, "HWRS value : %#x\n", (uint) temp); /* * Another value for userspace: the ASYM method returns 0x02 for @@ -1751,9 +1751,9 @@ static int asus_laptop_get_info(struct asus_laptop *asus) * The significance of others is yet to be found. */ status = - acpi_evaluate_integer(asus->handle, "HRWS", NULL, &hwrs_result); + acpi_evaluate_integer(asus->handle, "HWRS", NULL, &hwrs_result); if (!ACPI_FAILURE(status)) - pr_notice(" HRWS returned %x", (int)hwrs_result); + pr_notice(" HWRS returned %x", (int)hwrs_result); if (!acpi_check_handle(asus->handle, METHOD_WL_STATUS, NULL)) asus->have_rsts = true;