2020-08-05 19:20:43

by Colin King

[permalink] [raw]
Subject: [PATCH] power: pm2301_charger: fix spelling mistake "chargind" -> "charging"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a dev_dbg message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/power/supply/pm2301_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/pm2301_charger.c b/drivers/power/supply/pm2301_charger.c
index 17749fc90e16..787867805944 100644
--- a/drivers/power/supply/pm2301_charger.c
+++ b/drivers/power/supply/pm2301_charger.c
@@ -396,7 +396,7 @@ static int pm2_int_reg3(void *pm2_data, int val)

if (val & (PM2XXX_INT4_ITCHARGINGON)) {
dev_dbg(pm2->dev ,
- "chargind operation has started\n");
+ "charging operation has started\n");
}

if (val & (PM2XXX_INT4_ITVRESUME)) {
--
2.27.0


2020-08-27 22:04:29

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH] power: pm2301_charger: fix spelling mistake "chargind" -> "charging"

Hi,

On Wed, Aug 05, 2020 at 11:38:57AM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_dbg message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/pm2301_charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/pm2301_charger.c b/drivers/power/supply/pm2301_charger.c
> index 17749fc90e16..787867805944 100644
> --- a/drivers/power/supply/pm2301_charger.c
> +++ b/drivers/power/supply/pm2301_charger.c
> @@ -396,7 +396,7 @@ static int pm2_int_reg3(void *pm2_data, int val)
>
> if (val & (PM2XXX_INT4_ITCHARGINGON)) {
> dev_dbg(pm2->dev ,
> - "chargind operation has started\n");
> + "charging operation has started\n");
> }
>
> if (val & (PM2XXX_INT4_ITVRESUME)) {
> --
> 2.27.0
>


Attachments:
(No filename) (936.00 B)
signature.asc (849.00 B)
Download all attachments