2019-11-12 09:31:52

by Colin King

[permalink] [raw]
Subject: [PATCH][next] backlight: qcom-wled: fix spelling mistake "trigged" -> "triggered"

From: Colin Ian King <[email protected]>

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

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

diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c
index 33b6007c5e55..d46052d8ff41 100644
--- a/drivers/video/backlight/qcom-wled.c
+++ b/drivers/video/backlight/qcom-wled.c
@@ -322,7 +322,7 @@ static irqreturn_t wled_short_irq_handler(int irq, void *_wled)
wled->short_count = 1;

if (wled->short_count > WLED_SHORT_CNT_MAX) {
- dev_err(wled->dev, "Short trigged %d times, disabling WLED forever!\n",
+ dev_err(wled->dev, "Short triggered %d times, disabling WLED forever!\n",
wled->short_count);
wled->disabled_by_short = true;
goto unlock_mutex;
--
2.20.1


2019-11-12 11:41:47

by Daniel Thompson

[permalink] [raw]
Subject: Re: [PATCH][next] backlight: qcom-wled: fix spelling mistake "trigged" -> "triggered"

On Tue, Nov 12, 2019 at 09:30:25AM +0000, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Reviewed-by: Daniel Thompson <[email protected]>

> ---
> drivers/video/backlight/qcom-wled.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c
> index 33b6007c5e55..d46052d8ff41 100644
> --- a/drivers/video/backlight/qcom-wled.c
> +++ b/drivers/video/backlight/qcom-wled.c
> @@ -322,7 +322,7 @@ static irqreturn_t wled_short_irq_handler(int irq, void *_wled)
> wled->short_count = 1;
>
> if (wled->short_count > WLED_SHORT_CNT_MAX) {
> - dev_err(wled->dev, "Short trigged %d times, disabling WLED forever!\n",
> + dev_err(wled->dev, "Short triggered %d times, disabling WLED forever!\n",
> wled->short_count);
> wled->disabled_by_short = true;
> goto unlock_mutex;
> --
> 2.20.1
>

2019-11-13 11:33:42

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH][next] backlight: qcom-wled: fix spelling mistake "trigged" -> "triggered"

On Tue, 12 Nov 2019, Colin King wrote:

> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/video/backlight/qcom-wled.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog