Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1910137imn; Mon, 1 Aug 2022 04:50:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR4YXL/idiS03A6nnUH8xxQlQOe9cV4PxrH8goNKSCY9edwIH37Poo7ojXnKAVwBMBzwHkcK X-Received: by 2002:a05:6402:5110:b0:43d:c589:b70f with SMTP id m16-20020a056402511000b0043dc589b70fmr2063732edd.103.1659354604177; Mon, 01 Aug 2022 04:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659354604; cv=none; d=google.com; s=arc-20160816; b=zRFWXNsxn9wTvwtz9tfHFW+2SzsZ/mTb79NhVJsuSt9WvzvC0FFZydIBpbufc1X7PN OtMLYAg43AObGa4TVfkEYoMCqwshIt0vvc7wM5D+d7GMX1BELu00H4NjAOex8c0PijAE pHs42xBNlabt1tzlfYVGOADH+q+IovW9mh8ZGeToFu1qhWRzdrHI/pH6WLdRnY0Zqtwy /zllza7/NMsFV0MFKBx6S/mDPv9QBa/XWt8FsSL4yCNFxe1eoA77Yv3gaVNF19jPjcAa MYgkGrvX/RGDO5bof+Byyvhjzol6bdE3KP+j1zUddUW6D0rhqNpaxv4Ol8KcMsbxZ4fl fbDg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=V8t/DqkU1ui1UPGlNRGFOvSvTQgLbODW1FDRSl9CrOE=; b=rtbXM2sn2fosRXRhbwDOfseJkb9s10o7tB0XRFV+recAeOsESvSB8au8e9vnFJJMqP 3o1dRzNiZiksEdhqDUnekBz0++kkEFsNnah0TmgNOQYQ8h2ePntQfJgDXyqwUovu3tUE iarb9z/koBEvXofF2ggXu/nzMCUu4QP/RD5LYWND77miojX6d/BZm2W+7Xs6rgr1jKSz Ps306Sufia6xf4pYiJr11OR75QLxc5yKCyXGAx1oPkC2V4yu0F9JBmgs1ZK2N0AOq5Ig jlvG1UPhJOSaUOFzvcf4TInf4fRnXxQxaUNCRAm5z20HsXysP+tspKu5lvyJdO9dZC1J I4tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F3b33r1N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a170906938a00b007269a26e8a6si10642984ejx.937.2022.08.01.04.49.38; Mon, 01 Aug 2022 04:50:04 -0700 (PDT) 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; dkim=pass header.i=@intel.com header.s=Intel header.b=F3b33r1N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230202AbiHALhg (ORCPT + 99 others); Mon, 1 Aug 2022 07:37:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231241AbiHALh3 (ORCPT ); Mon, 1 Aug 2022 07:37:29 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B2F431DE8; Mon, 1 Aug 2022 04:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659353848; x=1690889848; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2oykgM/WdWPv5A9MKKo6SaxZoG7kN2jH6sY6ktoJbN8=; b=F3b33r1NuEgK2nTL6ofie5mtD12hNfFjlkwqwJ7Vwaw4UAp8dL4VWmz4 XbuhQ8+SkRGSecX61pgXSm17DDet9j67sZfyDhpG6+GwmqMmWHJkgOmDr 5iyy2cEQe392ZtqfVgOU3/4LxGVHGXxjx8Y1zWcvKju29SgmEwkIJaq39 dyQVlFxy5XOZPV1cmOCE33O4FB/lHczj3xJOIJu/6akYsukjzc9jfo7c6 4aTTYJCYPS+7WMDsP/fPPxciRpcA3v1SYZkDG10sVlSSJb8GEJj7DrYB/ 0rPGjFYBSu/gyvp2CsX/EG9x0sMAh95uRCFuA1vWRqL/9iAYHsg1Qkssl A==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="287880904" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="287880904" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 04:37:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="552485021" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga003.jf.intel.com with ESMTP; 01 Aug 2022 04:37:25 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id CCB7B11C; Mon, 1 Aug 2022 14:37:35 +0300 (EEST) From: Andy Shevchenko To: Hans de Goede , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mark Gross Subject: [PATCH v2 3/4] platform/x86: pmc_atom: Make terminator entry uniform Date: Mon, 1 Aug 2022 14:37:33 +0300 Message-Id: <20220801113734.36131-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220801113734.36131-1-andriy.shevchenko@linux.intel.com> References: <20220801113734.36131-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Make terminator entry uniform by dropping: - trailing commas - anything inside curly braces Signed-off-by: Andy Shevchenko --- v2: no changes drivers/platform/x86/pmc_atom.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index 4c3d6b48d2f0..8d91999446f5 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -60,7 +60,7 @@ static const struct pmc_clk byt_clks[] = { .freq = 19200000, .parent_name = "xtal", }, - {}, + {} }; static const struct pmc_clk cht_clks[] = { @@ -69,7 +69,7 @@ static const struct pmc_clk cht_clks[] = { .freq = 19200000, .parent_name = NULL, }, - {}, + {} }; static const struct pmc_bit_map d3_sts_0_map[] = { @@ -105,7 +105,7 @@ static const struct pmc_bit_map d3_sts_0_map[] = { {"LPSS2_F5_I2C5", BIT_LPSS2_F5_I2C5}, {"LPSS2_F6_I2C6", BIT_LPSS2_F6_I2C6}, {"LPSS2_F7_I2C7", BIT_LPSS2_F7_I2C7}, - {}, + {} }; static struct pmc_bit_map byt_d3_sts_1_map[] = { @@ -113,21 +113,21 @@ static struct pmc_bit_map byt_d3_sts_1_map[] = { {"OTG_SS_PHY", BIT_OTG_SS_PHY}, {"USH_SS_PHY", BIT_USH_SS_PHY}, {"DFX", BIT_DFX}, - {}, + {} }; static struct pmc_bit_map cht_d3_sts_1_map[] = { {"SMB", BIT_SMB}, {"GMM", BIT_STS_GMM}, {"ISH", BIT_STS_ISH}, - {}, + {} }; static struct pmc_bit_map cht_func_dis_2_map[] = { {"SMB", BIT_SMB}, {"GMM", BIT_FD_GMM}, {"ISH", BIT_FD_ISH}, - {}, + {} }; static const struct pmc_bit_map byt_pss_map[] = { @@ -149,7 +149,7 @@ static const struct pmc_bit_map byt_pss_map[] = { {"OTG_VCCA", PMC_PSS_BIT_OTG_VCCA}, {"USB", PMC_PSS_BIT_USB}, {"USB_SUS", PMC_PSS_BIT_USB_SUS}, - {}, + {} }; static const struct pmc_bit_map cht_pss_map[] = { @@ -172,7 +172,7 @@ static const struct pmc_bit_map cht_pss_map[] = { {"DFX_CLUSTER3", PMC_PSS_BIT_CHT_DFX_CLUSTER3}, {"DFX_CLUSTER4", PMC_PSS_BIT_CHT_DFX_CLUSTER4}, {"DFX_CLUSTER5", PMC_PSS_BIT_CHT_DFX_CLUSTER5}, - {}, + {} }; static const struct pmc_reg_map byt_reg_map = { @@ -422,8 +422,7 @@ static const struct dmi_system_id critclk_systems[] = { DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"), }, }, - - { /*sentinel*/ } + {} }; static int pmc_setup_clks(struct pci_dev *pdev, void __iomem *pmc_regmap, @@ -503,7 +502,7 @@ static int pmc_setup_dev(struct pci_dev *pdev, const struct pci_device_id *ent) static const struct pci_device_id pmc_pci_ids[] = { { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_VLV_PMC), (kernel_ulong_t)&byt_data }, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_CHT_PMC), (kernel_ulong_t)&cht_data }, - { 0, }, + {} }; static int __init pmc_atom_init(void) -- 2.35.1