All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] drm/meson: Remove unneeded semicolon
@ 2023-06-02  9:14 ` Yang Li
  0 siblings, 0 replies; 12+ messages in thread
From: Yang Li @ 2023-06-02  9:14 UTC (permalink / raw)
  To: airlied
  Cc: neil.armstrong, martin.blumenstingl, khilman, Abaci Robot,
	linux-kernel, dri-devel, Yang Li, linux-amlogic,
	linux-arm-kernel, jbrunet

./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:117:2-3: Unneeded semicolon
./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:231:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5392
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c
index dd505ac37976..57447abf1a29 100644
--- a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c
+++ b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c
@@ -114,7 +114,7 @@ static int dw_mipi_dsi_phy_init(void *priv_data)
 	case MIPI_DSI_FMT_RGB666_PACKED:
 	case MIPI_DSI_FMT_RGB565:
 		return -EINVAL;
-	};
+	}
 
 	/* Configure color format for DPI register */
 	writel_relaxed(FIELD_PREP(MIPI_DSI_TOP_DPI_COLOR_MODE, dpi_data_format) |
@@ -228,7 +228,7 @@ static int meson_dw_mipi_dsi_host_attach(void *priv_data,
 	case MIPI_DSI_FMT_RGB565:
 		dev_err(mipi_dsi->dev, "invalid pixel format %d\n", device->format);
 		return -EINVAL;
-	};
+	}
 
 	ret = phy_init(mipi_dsi->phy);
 	if (ret)
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-06-02 13:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  9:14 [PATCH -next] drm/meson: Remove unneeded semicolon Yang Li
2023-06-02  9:14 ` Yang Li
2023-06-02  9:14 ` Yang Li
2023-06-02  9:14 ` Yang Li
2023-06-02  9:16 ` neil.armstrong
2023-06-02  9:16   ` neil.armstrong
2023-06-02  9:16   ` neil.armstrong
2023-06-02  9:16   ` neil.armstrong
2023-06-02 13:49 ` Neil Armstrong
2023-06-02 13:49   ` Neil Armstrong
2023-06-02 13:49   ` Neil Armstrong
2023-06-02 13:49   ` Neil Armstrong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.