Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp821032pxm; Thu, 3 Mar 2022 05:20:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4q9xA39ER2Rfm9z6FqCG3Mww2PP0ykLJBQRb+M0XQqigJKTh2yQc4CBCupsK5DaKplfJt X-Received: by 2002:a17:906:4788:b0:6da:7aba:6e9 with SMTP id cw8-20020a170906478800b006da7aba06e9mr5343304ejc.407.1646313626287; Thu, 03 Mar 2022 05:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646313626; cv=none; d=google.com; s=arc-20160816; b=pIghbzHzI2c2Mx+mT0Fp6vKz0w9gzDMo38QrYbSe2GzfaioU7OwS0uqIdcIIZEl0UB 8b0KAmttAKK4Hr83hAaVT485JSXACMkPhJNYF4w/OgW0r7OUgA1Q5yswNoi58CkzF69Q 7MNjNRDizk5LgwQFOceCZ/goRFjOj6qMrKUbI1/pc2JlDrP+FYdjrLyTfqAOHE+xCRKv IolgHzkN26qmIwFM89ERF9iQqDGNKV39d9JAhWmCmi87LRwonDv9643l+cz6wKYLeSr/ LBPxCoxGAPcaqHijNS8/ySqWf4/yVhZFRnwTQjEPWcMw+mivAQvqkFco1Vif5h25yBtJ 6Hgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WOlt5pfX44ZuEPMQfugBzgMozgeBZqYp7B80otO9qyg=; b=rV6uRjiCM7RdIKwtCaNegWQemqlCGccxwDUCOr+BgBVnSPA6YG87fKyiJHctvck4E0 fAoEXIS9xsVe1pz2CAueAwaxJAIuCKnrODLOjcsMgfdFF9kRkPsclQJ51MJJ1hGF9xDJ Nys4LndyS1YHstou1SN7i0mqaYjNs7ttYYIDvHYgdJPgIld8gHABoyPp4QCNPZkoCieb KAYuhcH4no1kwEGmK8DzecGfRHfbp77gTNB+woW9jhGIltiZm/A/fMy4+XWms9ASvOi5 9CjSUS/ChGRNiIyJxcwBqbHczymrywKTzBYNsVa1WqnFVkQuJgLp6F0gRAeWyJIFRnaN C0Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a50d585000000b00410d2affdc6si1633044edi.612.2022.03.03.05.20.03; Thu, 03 Mar 2022 05:20:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbiCCMpy (ORCPT + 99 others); Thu, 3 Mar 2022 07:45:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232041AbiCCMpx (ORCPT ); Thu, 3 Mar 2022 07:45:53 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D634184B52 for ; Thu, 3 Mar 2022 04:45:07 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6495:14e6:1343:3ecb]) by andre.telenet-ops.be with bizsmtp id 1oky2700L5ER6nL01okzmC; Thu, 03 Mar 2022 13:45:05 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nPkpG-002XrF-8b; Thu, 03 Mar 2022 13:44:58 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nPkpF-008D6v-AA; Thu, 03 Mar 2022 13:44:57 +0100 From: Geert Uytterhoeven To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] drm: Drop commas after SoC match table sentinels Date: Thu, 3 Mar 2022 13:44:56 +0100 Message-Id: <298f0644275d7d0b4aa3ee7143756a2431a4900c.1646311443.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/gpu/drm/bridge/nwl-dsi.c | 2 +- drivers/gpu/drm/meson/meson_drv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/nwl-dsi.c b/drivers/gpu/drm/bridge/nwl-dsi.c index 5abb5ec3de467458..846df1ee7a2888cb 100644 --- a/drivers/gpu/drm/bridge/nwl-dsi.c +++ b/drivers/gpu/drm/bridge/nwl-dsi.c @@ -1151,7 +1151,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) diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c index 26aeaf0ab86ef932..35eaa669e8fe0c2a 100644 --- a/drivers/gpu/drm/meson/meson_drv.c +++ b/drivers/gpu/drm/meson/meson_drv.c @@ -167,7 +167,7 @@ static const struct meson_drm_soc_attr meson_drm_soc_attrs[] = { }, .attrs = (const struct soc_device_attribute []) { { .soc_id = "GXL (S805*)", }, - { /* sentinel */ }, + { /* sentinel */ } } }, }; -- 2.25.1