backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 24 Jul 2019 21:38:28 +0000 (23:38 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 08:11:22 +0000 (09:11 +0100)
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>
drivers/video/backlight/lms283gf05.c

index 35bc012..0e45685 100644 (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;
        }