Message ID | 20201214133458.3729-1-zhengyongjun3@huawei.com |
---|---|
State | New |
Headers | show |
Series | [-next] backlight: sky81452-backlight: convert comma to semicolon | expand |
On Mon, Dec 14, 2020 at 09:34:58PM +0800, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Weird! I guess it was harmless but still seriously weird ;-) Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Thanks! > --- > drivers/video/backlight/sky81452-backlight.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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); > -- > 2.22.0 >
On Mon, 14 Dec 2020, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> > --- > drivers/video/backlight/sky81452-backlight.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.
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);
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> --- drivers/video/backlight/sky81452-backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)