diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-12-17 19:00:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:14 -0500 |
commit | 08851261b5a95291ca8eddd97f19898bfe3b5b59 (patch) | |
tree | e5ada028bb4b4d82a2bdae0ee4eaa87da6e336bd /drivers/video/backlight | |
parent | 16a63149379e2279eb887dc28cad17e98d95500f (diff) |
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>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/corgi_lcd.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c index eaaebf21993e..e2e1b62bebb1 100644 --- a/drivers/video/backlight/corgi_lcd.c +++ b/drivers/video/backlight/corgi_lcd.c | |||
@@ -6,8 +6,8 @@ | |||
6 | * Based on Sharp's 2.4 Backlight Driver | 6 | * Based on Sharp's 2.4 Backlight Driver |
7 | * | 7 | * |
8 | * Copyright (c) 2008 Marvell International Ltd. | 8 | * Copyright (c) 2008 Marvell International Ltd. |
9 | * Converted to SPI device based LCD/Backlight device driver | 9 | * Converted to SPI device based LCD/Backlight device driver |
10 | * by Eric Miao <eric.miao@marvell.com> | 10 | * by Eric Miao <eric.miao@marvell.com> |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or modify | 12 | * This program is free software; you can redistribute it and/or modify |
13 | * it under the terms of the GNU General Public License version 2 as | 13 | * it under the terms of the GNU General Public License version 2 as |
@@ -192,7 +192,7 @@ static void lcdtg_set_phadadj(struct corgi_lcd *lcd, int mode) | |||
192 | { | 192 | { |
193 | int adj; | 193 | int adj; |
194 | 194 | ||
195 | switch(mode) { | 195 | switch (mode) { |
196 | case CORGI_LCD_MODE_VGA: | 196 | case CORGI_LCD_MODE_VGA: |
197 | /* Setting for VGA */ | 197 | /* Setting for VGA */ |
198 | adj = sharpsl_param.phadadj; | 198 | adj = sharpsl_param.phadadj; |
@@ -495,8 +495,9 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd, | |||
495 | err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_on, | 495 | err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_on, |
496 | "BL_ON"); | 496 | "BL_ON"); |
497 | if (err) { | 497 | if (err) { |
498 | dev_err(&spi->dev, "failed to request GPIO%d for " | 498 | dev_err(&spi->dev, |
499 | "backlight_on\n", pdata->gpio_backlight_on); | 499 | "failed to request GPIO%d for backlight_on\n", |
500 | pdata->gpio_backlight_on); | ||
500 | return err; | 501 | return err; |
501 | } | 502 | } |
502 | 503 | ||
@@ -508,8 +509,9 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd, | |||
508 | err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_cont, | 509 | err = devm_gpio_request(&spi->dev, pdata->gpio_backlight_cont, |
509 | "BL_CONT"); | 510 | "BL_CONT"); |
510 | if (err) { | 511 | if (err) { |
511 | dev_err(&spi->dev, "failed to request GPIO%d for " | 512 | dev_err(&spi->dev, |
512 | "backlight_cont\n", pdata->gpio_backlight_cont); | 513 | "failed to request GPIO%d for backlight_cont\n", |
514 | pdata->gpio_backlight_cont); | ||
513 | return err; | 515 | return err; |
514 | } | 516 | } |
515 | 517 | ||