OSDN Git Service

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 71b24e2..14c763e 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 93a7a03..6c2b0c9 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 */ }
                }
        },
 };