1
0
Fork 0

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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
alistair/sunxi64-5.4-dsi
Christophe JAILLET 2019-07-24 23:38:28 +02:00 committed by Lee Jones
parent 072e2c8192
commit 30f644fd6e
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,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;
}