[PATCH] drm/panel: Remove unneeded semicolon

Sam Ravnborg sam at ravnborg.org
Sat Apr 25 14:39:13 UTC 2020


Hi Zheng

On Fri, Apr 24, 2020 at 04:02:24PM +0800, Zheng Bin wrote:
> Fixes coccicheck warning:
> 
> drivers/gpu/drm/panel/panel-ilitek-ili9322.c:382:2-3: Unneeded semicolon
> drivers/gpu/drm/panel/panel-ilitek-ili9322.c:391:2-3: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13 at huawei.com>

Applied to drm-misc-next, so it will be included in the mainline
kernel in the next merge window.

Thanks,
	Sam

> ---
>  drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9322.c b/drivers/gpu/drm/panel/panel-ilitek-ili9322.c
> index 09935520e606..873b1c7059bd 100644
> --- a/drivers/gpu/drm/panel/panel-ilitek-ili9322.c
> +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9322.c
> @@ -379,7 +379,7 @@ static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili)
>  				"can't set up VCOM amplitude (%d)\n", ret);
>  			return ret;
>  		}
> -	};
> +	}
> 
>  	if (ili->vcom_high != U8_MAX) {
>  		ret = regmap_write(ili->regmap, ILI9322_VCOM_HIGH,
> @@ -388,7 +388,7 @@ static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili)
>  			dev_err(ili->dev, "can't set up VCOM high (%d)\n", ret);
>  			return ret;
>  		}
> -	};
> +	}
> 
>  	/* Set up gamma correction */
>  	for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) {
> --
> 2.26.0.106.g9fadedd
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list