summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-14 14:34:58 +0100
committerLee Jones <lee.jones@linaro.org>2021-01-20 13:54:14 +0100
commit4a98e5ef88f8a7a9fd42e71b018d3070662f8a2a (patch)
treee775428b0c96dcb9e1feec5f8d161567b4811b5e /drivers/video
parentbacklight: lms283gf05: Convert to GPIO descriptors (diff)
downloadlinux-4a98e5ef88f8a7a9fd42e71b018d3070662f8a2a.tar.xz
linux-4a98e5ef88f8a7a9fd42e71b018d3070662f8a2a.zip
backlight: sky81452-backlight: Convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/sky81452-backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/sky81452-backlight.c b/drivers/video/backlight/sky81452-backlight.c
index 8268ac43d54f..c95e0de7f4e7 100644
--- a/drivers/video/backlight/sky81452-backlight.c
+++ b/drivers/video/backlight/sky81452-backlight.c
@@ -291,7 +291,7 @@ static int sky81452_bl_probe(struct platform_device *pdev)
}
memset(&props, 0, sizeof(props));
- props.max_brightness = SKY81452_MAX_BRIGHTNESS,
+ props.max_brightness = SKY81452_MAX_BRIGHTNESS;
name = pdata->name ? pdata->name : SKY81452_DEFAULT_NAME;
bd = devm_backlight_device_register(dev, name, dev, regmap,
&sky81452_bl_ops, &props);