Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755359Ab2HTVG7 (ORCPT ); Mon, 20 Aug 2012 17:06:59 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:54290 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754967Ab2HTVG4 (ORCPT ); Mon, 20 Aug 2012 17:06:56 -0400 Date: Mon, 20 Aug 2012 22:11:22 +0100 From: Alan Cox To: Corentin Chary Cc: Matthew Garrett , linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org, Matthew Garrett , acpi4asus-user@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] asus-laptop: HRWS/HWRS typo Message-ID: <20120820221122.56c11282@pyramind.ukuu.org.uk> In-Reply-To: <1345496512-11780-3-git-send-email-corentin.chary@gmail.com> References: <1345496512-11780-1-git-send-email-corentin.chary@gmail.com> <1345496512-11780-3-git-send-email-corentin.chary@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWysKsSBQMIAwIZCwj///8wIhxoRDXH9QHCAAABeUlEQVQ4jaXTvW7DIBAAYCQTzz2hdq+rdg494ZmBeE5KYHZjm/d/hJ6NfzBJpp5kRb5PHJwvMPMk2L9As5Y9AmYRBL+HAyJKeOU5aHRhsAAvORQ+UEgAvgddj/lwAXndw2laEDqA4x6KEBhjYRCg9tBFCOuJFxg2OKegbWjbsRTk8PPhKPD7HcRxB7cqhgBRp9Dcqs+B8v4CQvFdqeot3Kov6hBUn0AJitrzY+sgUuiA8i0r7+B3AfqKcN6t8M6HtqQ+AOoELCikgQSbgabKaJW3kn5lBs47JSGDhhLKDUh1UMipwwinMYPTBuIBjEclSaGZUk9hDlTb5sUTYN2SFFQuPe4Gox1X0FZOufjgBiV1Vls7b+GvK3SU4wfmcGo9rPPQzgIabfj4TYQo15k3bTHX9RIw/kniir5YbtJF4jkFG+dsDK1IgE413zAthU/vR2HVMmFUPIHTvF6jWCpFaGw/A3qWgnbxpSm9MSmY5b3pM1gvNc/gQfwBsGwF0VCtxZgAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1977 Lines: 47 On Mon, 20 Aug 2012 23:01:51 +0200 Corentin Chary wrote: > 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; Please also tag this commit Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=24222 so we can track it back out of bugzilla. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/