From: Sam Ravnborg <sam@ravnborg.org>
To: Zheng Bin <zhengbin13@huawei.com>
Cc: airlied@linux.ie, thierry.reding@gmail.com,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/panel: Remove unneeded semicolon
Date: Sat, 25 Apr 2020 16:39:13 +0200 [thread overview]
Message-ID: <20200425143913.GA32235@ravnborg.org> (raw)
In-Reply-To: <20200424080224.30763-1-zhengbin13@huawei.com>
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@huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2020-04-25 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 8:02 [PATCH] drm/panel: Remove unneeded semicolon Zheng Bin
2020-04-25 14:39 ` Sam Ravnborg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200425143913.GA32235@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=thierry.reding@gmail.com \
--cc=zhengbin13@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.