Eliminate the following coccicheck warning: ./drivers/gpu/drm/panel/panel-novatek-nt35950.c:639:2-3: Unneeded semicolon
Reported-by: Abaci Robot abaci@linux.alibaba.com Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels") Signed-off-by: Yang Li yang.lee@linux.alibaba.com --- drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35950.c b/drivers/gpu/drm/panel/panel-novatek-nt35950.c index d42c7af..3821c66 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt35950.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt35950.c @@ -636,7 +636,7 @@ static int nt35950_remove(struct mipi_dsi_device *dsi) dev_err(&dsi->dev, "Failed to detach from DSI1 host: %d\n", ret); mipi_dsi_device_unregister(nt->dsi[1]); - }; + }
drm_panel_remove(&nt->panel);
Hi Yang,
On Tue, Oct 19, 2021 at 03:37:26PM +0800, Yang Li wrote:
Eliminate the following coccicheck warning: ./drivers/gpu/drm/panel/panel-novatek-nt35950.c:639:2-3: Unneeded semicolon
Reported-by: Abaci Robot abaci@linux.alibaba.com Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels") Signed-off-by: Yang Li yang.lee@linux.alibaba.com
Thanks for this fix. As it is not urgent I have applied the patch to drm-misc-next and it will show up in -next in 1-2 weeks.
I edited the subject to include "novatek-nt35950:" while applying.
Sam
dri-devel@lists.freedesktop.org