X86 platform drivers
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@infradead.org>
To: Azael Avalos <coproscefalo@gmail.com>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions
Date: Fri, 27 Mar 2015 19:58:55 -0700	[thread overview]
Message-ID: <20150328025855.GB37152@fury.dvhart.com> (raw)
In-Reply-To: <1427490565-6363-3-git-send-email-coproscefalo@gmail.com>

On Fri, Mar 27, 2015 at 03:09:25PM -0600, Azael Avalos wrote:
> This patch fixes typos in the pr_* messages from the USB Sleep
> Functions.
> 
> Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
> ---
>  drivers/platform/x86/toshiba_acpi.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
> index 595f12c..3bb456c 100644
> --- a/drivers/platform/x86/toshiba_acpi.c
> +++ b/drivers/platform/x86/toshiba_acpi.c
> @@ -955,11 +955,11 @@ static int toshiba_usb_rapid_charge_get(struct toshiba_acpi_dev *dev,
>  	status = tci_raw(dev, in, out);
>  	sci_close(dev);
>  	if (ACPI_FAILURE(status) || out[0] == TOS_FAILURE) {
> -		pr_err("ACPI call to get USB S&C battery level failed\n");
> +		pr_err("ACPI call to get USB Rapid Charge failed\n");
>  		return -EIO;
>  	} else if (out[0] == TOS_NOT_SUPPORTED ||
>  		   out[0] == TOS_INPUT_DATA_ERROR) {
> -		pr_info("USB Sleep and Charge not supported\n");
> +		pr_info("USB Rapid Charge not supported\n");

This is a name change, not a typo fix. You added a comment in 1/3 using Sleep
and Charge, should this patch perhaps come first?

Or... hrm... this is using the correct name for each state, and 1/3 added Sleep
and Charge to the correct one... right, probably just need a better commit
message. Not a type, but fixing the messages reporting the wrong states.

-- 
Darren Hart
Intel Open Source Technology Center

  reply	other threads:[~2015-03-28  2:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 21:09 [PATCH 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates Azael Avalos
2015-03-27 21:09 ` [PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes Azael Avalos
2015-03-28  2:53   ` Darren Hart
2015-03-30  0:17     ` Azael Avalos
2015-03-27 21:09 ` [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions Azael Avalos
2015-03-28  2:58   ` Darren Hart [this message]
2015-03-30  0:19     ` Azael Avalos

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=20150328025855.GB37152@fury.dvhart.com \
    --to=dvhart@infradead.org \
    --cc=coproscefalo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.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