2019-07-25 10:22:20

by Christophe JAILLET

[permalink] [raw]
Subject: [PATCH] backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'

The description passed to 'devm_gpio_request_one()' should be related to
LMS283GF05, not LMS285GF05.

Signed-off-by: Christophe JAILLET <[email protected]>
---
drivers/video/backlight/lms283gf05.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/video/backlight/lms283gf05.c
index 4237aaa7f269..4b62ed7e58c0 100644
--- a/drivers/video/backlight/lms283gf05.c
+++ b/drivers/video/backlight/lms283gf05.c
@@ -161,7 +161,7 @@ static int lms283gf05_probe(struct spi_device *spi)
ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio,
GPIOF_DIR_OUT | (!pdata->reset_inverted ?
GPIOF_INIT_HIGH : GPIOF_INIT_LOW),
- "LMS285GF05 RESET");
+ "LMS283GF05 RESET");
if (ret)
return ret;
}
--
2.20.1



2019-07-25 16:29:10

by Daniel Thompson

[permalink] [raw]
Subject: Re: [PATCH] backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'

On Wed, Jul 24, 2019 at 11:38:28PM +0200, Christophe JAILLET wrote:
> The description passed to 'devm_gpio_request_one()' should be related to
> LMS283GF05, not LMS285GF05.
>
> Signed-off-by: Christophe JAILLET <[email protected]>

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

> ---
> drivers/video/backlight/lms283gf05.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/video/backlight/lms283gf05.c
> index 4237aaa7f269..4b62ed7e58c0 100644
> --- a/drivers/video/backlight/lms283gf05.c
> +++ b/drivers/video/backlight/lms283gf05.c
> @@ -161,7 +161,7 @@ static int lms283gf05_probe(struct spi_device *spi)
> ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio,
> GPIOF_DIR_OUT | (!pdata->reset_inverted ?
> GPIOF_INIT_HIGH : GPIOF_INIT_LOW),
> - "LMS285GF05 RESET");
> + "LMS283GF05 RESET");
> if (ret)
> return ret;
> }
> --
> 2.20.1
>

2019-08-12 08:06:06

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'

On Wed, 24 Jul 2019, Christophe JAILLET wrote:

> The description passed to 'devm_gpio_request_one()' should be related to
> LMS283GF05, not LMS285GF05.
>
> Signed-off-by: Christophe JAILLET <[email protected]>
> ---
> drivers/video/backlight/lms283gf05.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