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>
This commit is contained in:
parent
072e2c8192
commit
30f644fd6e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue