aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-17 19:01:09 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 20:15:17 -0500
commit2fe2380e354d3bb634de673c498a262fb0d632ad (patch)
treeed0a258ffe6dd293f222aaeb111ca863cbedc6f5 /drivers/video
parentb444df2f7267e1a431989ad95169f0c13ac790e2 (diff)
backlight: 88pm860x_bl: remove an unnecessary line continuation
Remove an unnecessary line continuation in pm860x_backlight_probe(). Also, a checkpatch warning is fixed as below: WARNING: Avoid unnecessary line continuations [akpm@linux-foundation.org: remove newline] Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/88pm860x_bl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/backlight/88pm860x_bl.c b/drivers/video/backlight/88pm860x_bl.c
index bb21412547a9..c072ed9aea36 100644
--- a/drivers/video/backlight/88pm860x_bl.c
+++ b/drivers/video/backlight/88pm860x_bl.c
@@ -228,8 +228,7 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
228 sprintf(name, "backlight-%d", pdev->id); 228 sprintf(name, "backlight-%d", pdev->id);
229 data->port = pdev->id; 229 data->port = pdev->id;
230 data->chip = chip; 230 data->chip = chip;
231 data->i2c = (chip->id == CHIP_PM8606) ? chip->client \ 231 data->i2c = (chip->id == CHIP_PM8606) ? chip->client : chip->companion;
232 : chip->companion;
233 data->current_brightness = MAX_BRIGHTNESS; 232 data->current_brightness = MAX_BRIGHTNESS;
234 if (pm860x_backlight_dt_init(pdev, data, name)) { 233 if (pm860x_backlight_dt_init(pdev, data, name)) {
235 if (pdata) { 234 if (pdata) {