drm: Drop commas after SoC match table sentinels
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 3 Mar 2022 12:44:56 +0000 (13:44 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Mar 2022 10:20:07 +0000 (11:20 +0100)
It does not make sense to have a comma after a sentinel, as any new
elements must be added before the sentinel.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/298f0644275d7d0b4aa3ee7143756a2431a4900c.1646311443.git.geert+renesas@glider.be
drivers/gpu/drm/bridge/nwl-dsi.c
drivers/gpu/drm/meson/meson_drv.c

index 71b24e2d64f54ef984812ec5861dd191423e5dfa..14c763e1fa6fa7098e5c6f8a1db5dfc34b66fc14 100644 (file)
@@ -1155,7 +1155,7 @@ MODULE_DEVICE_TABLE(of, nwl_dsi_dt_ids);
 static const struct soc_device_attribute nwl_dsi_quirks_match[] = {
        { .soc_id = "i.MX8MQ", .revision = "2.0",
          .data = (void *)E11418_HS_MODE_QUIRK },
-       { /* sentinel. */ },
+       { /* sentinel. */ }
 };
 
 static int nwl_dsi_probe(struct platform_device *pdev)
index 93a7a033a3e8b70253c8dd1f6a5683052fd0232e..6c2b0c90b69ecc23c1a182cce8355552295bfff9 100644 (file)
@@ -168,7 +168,7 @@ static const struct meson_drm_soc_attr meson_drm_soc_attrs[] = {
                },
                .attrs = (const struct soc_device_attribute []) {
                        { .soc_id = "GXL (S805*)", },
-                       { /* sentinel */ },
+                       { /* sentinel */ }
                }
        },
 };