Commit a29b57e9 authored by Zheng Bin's avatar Zheng Bin Committed by Sam Ravnborg

drm/panel: ili9322: Remove unneeded semicolon

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200424080224.30763-1-zhengbin13@huawei.com
parent 03e909ac
...@@ -379,7 +379,7 @@ static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili) ...@@ -379,7 +379,7 @@ static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili)
"can't set up VCOM amplitude (%d)\n", ret); "can't set up VCOM amplitude (%d)\n", ret);
return ret; return ret;
} }
}; }
if (ili->vcom_high != U8_MAX) { if (ili->vcom_high != U8_MAX) {
ret = regmap_write(ili->regmap, ILI9322_VCOM_HIGH, ret = regmap_write(ili->regmap, ILI9322_VCOM_HIGH,
...@@ -388,7 +388,7 @@ static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili) ...@@ -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); dev_err(ili->dev, "can't set up VCOM high (%d)\n", ret);
return ret; return ret;
} }
}; }
/* Set up gamma correction */ /* Set up gamma correction */
for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) { for (i = 0; i < ARRAY_SIZE(ili->gamma); i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment