OSDN Git Service

drm/panel: novatek-nt35950: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 19 Oct 2021 07:37:26 +0000 (15:37 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 25 Oct 2021 16:43:39 +0000 (18:43 +0200)
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>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1634629046-116842-1-git-send-email-yang.lee@linux.alibaba.com
drivers/gpu/drm/panel/panel-novatek-nt35950.c

index 841c232..288c7fa 100644 (file)
@@ -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);