backlight: 88pm860x_bl: remove an unnecessary line continuation
authorJingoo Han <jg1.han@samsung.com>
Tue, 18 Dec 2012 00:01:09 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:17 +0000 (17:15 -0800)
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>
drivers/video/backlight/88pm860x_bl.c

index bb21412547a9768bec755a26faab59348a2c2232..c072ed9aea3624148b57bff3ad742b4f278a060e 100644 (file)
@@ -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) {