mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b444df2f72
commit
2fe2380e35
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue