diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-12-17 16:01:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:17 -0800 |
commit | 2fe2380e354d3bb634de673c498a262fb0d632ad (patch) | |
tree | ed0a258ffe6dd293f222aaeb111ca863cbedc6f5 /drivers/video | |
parent | b444df2f7267e1a431989ad95169f0c13ac790e2 (diff) | |
download | linux-stable-2fe2380e354d3bb634de673c498a262fb0d632ad.tar.gz linux-stable-2fe2380e354d3bb634de673c498a262fb0d632ad.tar.bz2 linux-stable-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/video')
-rw-r--r-- | drivers/video/backlight/88pm860x_bl.c | 3 |
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) { |