Skip to contentSkip to conversation

drm/panel: remove unneeded semicolon

PATCH In review Yang Li 2 participants 2 messages Oct 19, 2021 – Oct 21, 2021

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 drm/panel: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/gpu/drm/panel/panel-novatek-nt35950.c:639:2-3: Unneeded semicolon

Fixes 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
---
 drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-novatek-nt35950.c +1 -1
index d42c7af..3821c66 100644
@@ -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);
 
Signature · 1 line
1.8.3.1
#1 lore raw

Hi Yang,

Quoted 7 lines · Yang Li

Eliminate the following coccicheck warning:
./drivers/gpu/drm/panel/panel-novatek-nt35950.c:639:2-3: Unneeded semicolon

Fixes 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")

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