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

Daniel Thompson daniel.thompson at linaro.org
Thu Jul 25 09:49:31 UTC 2019


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 <christophe.jaillet at wanadoo.fr>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>

> ---
>  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
> 


More information about the dri-devel mailing list