[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251125014740.1059347-1-nichen@iscas.ac.cn>
Date: Tue, 25 Nov 2025 09:47:40 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: chunkuang.hu@...nel.org,
p.zabel@...gutronix.de,
airlied@...il.com,
simona@...ll.ch,
matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com
Cc: dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] drm/mediatek: mtk_hdmi_v2: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_v2.c b/drivers/gpu/drm/mediatek/mtk_hdmi_v2.c
index c272e1e74b7d..d510ca8cfc4a 100644
--- a/drivers/gpu/drm/mediatek/mtk_hdmi_v2.c
+++ b/drivers/gpu/drm/mediatek/mtk_hdmi_v2.c
@@ -746,7 +746,7 @@ static void mtk_hdmi_v2_change_video_resolution(struct mtk_hdmi *hdmi,
case HDMI_COLORSPACE_YUV420:
mtk_hdmi_yuv420_downsampling(hdmi, true);
break;
- };
+ }
}
static void mtk_hdmi_v2_output_set_display_mode(struct mtk_hdmi *hdmi,
@@ -1157,7 +1157,7 @@ static int mtk_hdmi_v2_hdmi_clear_infoframe(struct drm_bridge *bridge,
case HDMI_INFOFRAME_TYPE_DRM:
default:
break;
- };
+ }
return 0;
}
@@ -1185,7 +1185,7 @@ static int mtk_hdmi_v2_hdmi_write_infoframe(struct drm_bridge *bridge,
default:
dev_err(hdmi->dev, "Unsupported HDMI infoframe type %u\n", type);
break;
- };
+ }
return 0;
}
--
2.25.1
Powered by blists - more mailing lists