summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-18 01:01:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 02:15:17 +0100
commit2fe2380e354d3bb634de673c498a262fb0d632ad (patch)
treeed0a258ffe6dd293f222aaeb111ca863cbedc6f5 /drivers
parentdrivers/video/backlight/pandora_bl.c: change TWL4030_MODULE_PWM0 to TWL_MODUL... (diff)
downloadlinux-2fe2380e354d3bb634de673c498a262fb0d632ad.tar.xz
linux-2fe2380e354d3bb634de673c498a262fb0d632ad.zip
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')
-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)
sprintf(name, "backlight-%d", pdev->id);
data->port = pdev->id;
data->chip = chip;
- data->i2c = (chip->id == CHIP_PM8606) ? chip->client \
- : chip->companion;
+ data->i2c = (chip->id == CHIP_PM8606) ? chip->client : chip->companion;
data->current_brightness = MAX_BRIGHTNESS;
if (pm860x_backlight_dt_init(pdev, data, name)) {
if (pdata) {