]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/panel: ili9322: Remove unneeded semicolon
authorZheng Bin <zhengbin13@huawei.com>
Fri, 24 Apr 2020 08:02:24 +0000 (16:02 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 25 Apr 2020 14:37:27 +0000 (16:37 +0200)
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>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200424080224.30763-1-zhengbin13@huawei.com
drivers/gpu/drm/panel/panel-ilitek-ili9322.c

index 09935520e606359a7ad0fe28e19dc065698e29a7..873b1c7059bd8a1ffd4b474a0c0bf7174fa080fb 100644 (file)
@@ -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++) {