2023-02-06 09:17:50

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] power: supply: rt9467: Fix spelling mistake "attache" -> "attach"

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

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

diff --git a/drivers/power/supply/rt9467-charger.c b/drivers/power/supply/rt9467-charger.c
index 96ad0d7d3af4..73f744a3155d 100644
--- a/drivers/power/supply/rt9467-charger.c
+++ b/drivers/power/supply/rt9467-charger.c
@@ -970,7 +970,7 @@ static irqreturn_t rt9467_usb_state_handler(int irq, void *priv)

ret = rt9467_report_usb_state(data);
if (ret) {
- dev_err(data->dev, "Failed to report attache type (%d)\n", ret);
+ dev_err(data->dev, "Failed to report attach type (%d)\n", ret);
return IRQ_NONE;
}

--
2.30.2



2023-02-07 09:48:23

by ChiaEn Wu

[permalink] [raw]
Subject: Re: [PATCH][next] power: supply: rt9467: Fix spelling mistake "attache" -> "attach"

On Mon, Feb 06, 2023 at 09:17:42AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
Hi,
It's really typo. Thanks!

Reviewed-by: ChiaEn Wu <[email protected]>

Best regards,
ChiaEn Wu

> drivers/power/supply/rt9467-charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/rt9467-charger.c b/drivers/power/supply/rt9467-charger.c
> index 96ad0d7d3af4..73f744a3155d 100644
> --- a/drivers/power/supply/rt9467-charger.c
> +++ b/drivers/power/supply/rt9467-charger.c
> @@ -970,7 +970,7 @@ static irqreturn_t rt9467_usb_state_handler(int irq, void *priv)
>
> ret = rt9467_report_usb_state(data);
> if (ret) {
> - dev_err(data->dev, "Failed to report attache type (%d)\n", ret);
> + dev_err(data->dev, "Failed to report attach type (%d)\n", ret);
> return IRQ_NONE;
> }
>
> --
> 2.30.2
>

2023-02-13 20:43:36

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH][next] power: supply: rt9467: Fix spelling mistake "attache" -> "attach"

Hi,

On Mon, Feb 06, 2023 at 09:17:42AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/rt9467-charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/rt9467-charger.c b/drivers/power/supply/rt9467-charger.c
> index 96ad0d7d3af4..73f744a3155d 100644
> --- a/drivers/power/supply/rt9467-charger.c
> +++ b/drivers/power/supply/rt9467-charger.c
> @@ -970,7 +970,7 @@ static irqreturn_t rt9467_usb_state_handler(int irq, void *priv)
>
> ret = rt9467_report_usb_state(data);
> if (ret) {
> - dev_err(data->dev, "Failed to report attache type (%d)\n", ret);
> + dev_err(data->dev, "Failed to report attach type (%d)\n", ret);
> return IRQ_NONE;
> }
>
> --
> 2.30.2
>


Attachments:
(No filename) (890.00 B)
signature.asc (833.00 B)
Download all attachments