drm/panel: Remove unneeded semicolon
Subsystems (3)
PATCH 1/1 drm/panel: 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
--- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/panel/panel-ilitek-ili9322.c +2 -2
@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Sam Ravnborg
AppliedHi Zheng
Quoted 7 lines · Zheng Bin
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 <[email protected]>Signed-off-by Zheng Bin <[email protected]>
Applied to drm-misc-next, so it will be included in the mainline kernel in the next merge window.
Thanks,
Sam
Quoted 29 lines
--- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/panel/panel-ilitek-ili9322.c +2
-3@@ -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
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel