mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
backlight: corgi_lcd: fix checkpatch error and warning
This patch fixes the checkpatch error and warning as below: WARNING: please, no space before tabs WARNING: quoted string split across lines ERROR: space required before the open parenthesis '(' Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
16a6314937
commit
08851261b5
@ -495,8 +495,9 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd,
|
|||||||
err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_on,
|
err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_on,
|
||||||
"BL_ON");
|
"BL_ON");
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(&spi->dev, "failed to request GPIO%d for "
|
dev_err(&spi->dev,
|
||||||
"backlight_on\n", pdata->gpio_backlight_on);
|
"failed to request GPIO%d for backlight_on\n",
|
||||||
|
pdata->gpio_backlight_on);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -508,8 +509,9 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd,
|
|||||||
err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_cont,
|
err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_cont,
|
||||||
"BL_CONT");
|
"BL_CONT");
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(&spi->dev, "failed to request GPIO%d for "
|
dev_err(&spi->dev,
|
||||||
"backlight_cont\n", pdata->gpio_backlight_cont);
|
"failed to request GPIO%d for backlight_cont\n",
|
||||||
|
pdata->gpio_backlight_cont);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user