From patchwork Mon Nov 21 15:47:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 23927 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1671439wrr; Mon, 21 Nov 2022 07:55:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf5cNN0jCH+TnLuLIE7Iyw8tMIFxLGj3qtCBhPoRCRw6o8qSdeCGk8yjSh247vHtm0DPTZQ1 X-Received: by 2002:a05:6402:345:b0:458:fc30:f1ff with SMTP id r5-20020a056402034500b00458fc30f1ffmr17117383edw.132.1669046158975; Mon, 21 Nov 2022 07:55:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669046158; cv=none; d=google.com; s=arc-20160816; b=oncBbfMkh7gNnKB4/AZz4454DCvh3X+JEImMooEBNp/PtIBwI5UzMXH1sSa+17Y4Mp e/Cz0d+tASmlApBcMmdGwRt2nN/lodz96SjhMxPazaDmmPwdsJsacGzM5KSnwxAZmt+V kBuCBN/pC/58Y589MkdHsybMe3Iwyne6pyjnnL0bHXdzu2Q1YbySpwLpUoJdOtCuhJ8l i3JUYkcLlfV8umCv8DsTIK3CChGWUXh2CuwGeCpg+JRaJpSkgGfVqGgWFf+IMDuDj+Yk ohGWTMPwqzZMMg9URVocZA+MFFitaty3Br01gtaS5QuNdgo6XwHxmK519IT+qIZeicmi VO2g== 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=sLw8cYfSIQVfY09aHJTLhKK5SI7hnNiPmyFAYPYcul0=; b=Qd/Kv/0l9jVJlpIVtuxFRqnu2z2TURWqsNqVi5CqhRTmoh3wfJvW/KmUPDrnIaIKQ1 3C5AErXrVX2aeJTVYuQTrK0cV0RtS7RWS6vnBWvxR3Gs7SxIxBcUl0f9w7bQ7G6NZcVA BtSkNv2MKx0Os/jAzmuJArx2ZFoQIjJTqnZbxVdS02SQxiZbjlkOuXF8kPMTtpOYEFPi +sCbrtInpUaxyLH3wbTtdNXdHV9sAy9fpRpkNVB3lPnyifrPheZX6tI7mveeS1gVEH/i kMRB/Ci6YOBiGAq6KEQbCjwKIc7E5CaC8rriuKPl0Vt/dz+5zkBsooV8S23qm9s3PLVz xIuA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a170906168e00b00791a6455597si7531509ejd.955.2022.11.21.07.55.33; Mon, 21 Nov 2022 07:55:58 -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 S232536AbiKUPsB (ORCPT + 99 others); Mon, 21 Nov 2022 10:48:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbiKUPr0 (ORCPT ); Mon, 21 Nov 2022 10:47:26 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A59C3CFA64 for ; Mon, 21 Nov 2022 07:47:14 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by laurent.telenet-ops.be with bizsmtp id n3nC2800M5WXlCv013nCc8; Mon, 21 Nov 2022 16:47:13 +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 1ox90q-0019FZ-6T; Mon, 21 Nov 2022 16:47:12 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox90p-00BQUA-IK; Mon, 21 Nov 2022 16:47:11 +0100 From: Geert Uytterhoeven To: Eduardo Valentin , Keerthy , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel Date: Mon, 21 Nov 2022 16:47:10 +0100 Message-Id: <1d6de2a80b919cb11199e56ac06ad21c273ebe57.1669045586.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750121745099338753?= X-GMAIL-MSGID: =?utf-8?q?1750121745099338753?= 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 Acked-by: Keerthy --- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c index 53d409c80753c25e..576c2115df85da72 100644 --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c @@ -877,7 +877,7 @@ static struct ti_bandgap *ti_bandgap_build(struct platform_device *pdev) */ static const struct soc_device_attribute soc_no_cpu_notifier[] = { { .machine = "OMAP4430" }, - { /* sentinel */ }, + { /* sentinel */ } }; /*** Device driver call backs ***/