Re: [PATCH] drm/panel: Remove unneeded semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Signed-off-by: Zheng Bin <zhengbin13@xxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux