Commit 2fe2380e authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b444df2f
...@@ -228,8 +228,7 @@ static int pm860x_backlight_probe(struct platform_device *pdev) ...@@ -228,8 +228,7 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
sprintf(name, "backlight-%d", pdev->id); sprintf(name, "backlight-%d", pdev->id);
data->port = pdev->id; data->port = pdev->id;
data->chip = chip; data->chip = chip;
data->i2c = (chip->id == CHIP_PM8606) ? chip->client \ data->i2c = (chip->id == CHIP_PM8606) ? chip->client : chip->companion;
: chip->companion;
data->current_brightness = MAX_BRIGHTNESS; data->current_brightness = MAX_BRIGHTNESS;
if (pm860x_backlight_dt_init(pdev, data, name)) { if (pm860x_backlight_dt_init(pdev, data, name)) {
if (pdata) { if (pdata) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment