Re: [PATCH -next] backlight: sky81452-backlight: convert comma to semicolon

From: Daniel Thompson
Date: Mon Dec 14 2020 - 09:37:33 EST


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@xxxxxxxxxx>

Weird! I guess it was harmless but still seriously weird ;-)

Reviewed-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

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
>