From patchwork Thu Jun 1 21:34:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102207 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp632334vqr; Thu, 1 Jun 2023 14:49:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5duPIHPDctZq1wKOxMNin1UUWlMwHSG1qS2rM87yyXvn3g2/EJwHFGj98vazgSbZTgK6B4 X-Received: by 2002:a17:90b:234e:b0:252:8698:d03b with SMTP id ms14-20020a17090b234e00b002528698d03bmr578489pjb.14.1685656153459; Thu, 01 Jun 2023 14:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685656153; cv=none; d=google.com; s=arc-20160816; b=0odCiieu720x79jvuHfgGyb1ZkXiffZ4bRIYAczGa3q3B4Xd/aTwmMtOa1+t4uTFfd fXxcdXpD2GgUSmiVhQYkQjz0zUEEd7IPdqUBtCLco1Ymx+NQd9L80X60YodCXYYcL3pS dxep0oy0FPR/W0P24cvVh/ebMJUvtw5TyHz4Lz6IueDxKz/GFy2yyN1zqiXAyJYRxdpG M8TGV92MQpyaKNp2mTX1E+q7PQNmQTb1bEl5oouU6RgbngwDZFBjVl2GQiUT0mk6dLQl OM5pvSllelBilo4WHk+kEhtJTwPX0ctf8ylvlgjqrAgGUslfccdp2VxQcaakg3u0bGrp ztXg== 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:dkim-signature; bh=rlQQXWWjNGduuwjIGJh7cVdgW6PHAe4fphjXgxZVIxQ=; b=Xy01DhyzUlds1up/G2h/jaHQYm0AE/EGcl+ciD2BO3hpK19UGtCL6cUkQWujt0KKVu 8xJQKMynpA1pD1yUyTIz6pQZ3eYj7a+tjE+27h0qBUnFr/1RfAhcpVJZWyyj+I6dcpZF Gy1uUI+jdotNeua2VhsHgNnYSEBEKcls6JuPdPxlmqWBE1awobe7zT8xU3U4GOGC+vZM wOtchw3xJTnIc743WHdJaXOXw4F6qLfJvJBDlfUsGunoqGT37EgKrVCPp+Rmd2mEbjgr a6c9DBz//6siU7Wd6B8ECXB6qyQcno/QuUYV9aviM4FdkDnjLBGhchUPN7AILcIU3jpA 16UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RhL49pjg; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020a63af18000000b005428f77eff7si416802pge.854.2023.06.01.14.49.00; Thu, 01 Jun 2023 14:49:13 -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=@kernel.org header.s=k20201202 header.b=RhL49pjg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232625AbjFAVed (ORCPT + 99 others); Thu, 1 Jun 2023 17:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232754AbjFAVeY (ORCPT ); Thu, 1 Jun 2023 17:34:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5D3E19B; Thu, 1 Jun 2023 14:34:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 340C8649ED; Thu, 1 Jun 2023 21:34:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05ACCC433EF; Thu, 1 Jun 2023 21:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685655262; bh=JaawEy6UWWYzmcaegnIYS0KJ7XgSuoVg+Fttrdrlbrk=; h=From:To:Cc:Subject:Date:From; b=RhL49pjguuM0U8HHZyTiLBHqUMvtYDzUdanUcH9iNwRPLDAGKA7+SYxq6SDacDX4w ZrO+yPiThRxfNO4Z/owuCVEZmW+Y6ARc1cql5e3zWu8fer5EN+5UAswmvNBoQuISIt zmHjKDvDqYOVzgC1Q9oOHKCwNdEY14X54U45TdzyKN15b+W0thDhPR3jYEP2y89DZK oMscPf/6HOIv9d6MOk5eX3clahsERIaaG2czNefxq/kGJELssDMjCt/1F/nXGaMOh0 KUdoCnxvO98VJUUGvEoRHmAyxyM2nnoW5gh/mu9m2zo2ZZfrV/eWAvTVP9Znplr/SU PmCzKalqb8ilA== From: Arnd Bergmann To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Robert Marko Cc: Arnd Bergmann , Mantas Pucka , Christian Marangi , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: gcc-ipq6018: remove duplicate initializers Date: Thu, 1 Jun 2023 23:34:12 +0200 Message-Id: <20230601213416.3373599-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767538586808129929?= X-GMAIL-MSGID: =?utf-8?q?1767538586808129929?= From: Arnd Bergmann A recent change added new initializers for .config_ctl_val and .config_ctl_hi_val but left the old values in place: drivers/clk/qcom/gcc-ipq6018.c:4155:27: error: initialized field overwritten [-Werror=override-init] 4155 | .config_ctl_val = 0x240d4828, | ^~~~~~~~~~ drivers/clk/qcom/gcc-ipq6018.c:4156:30: error: initialized field overwritten [-Werror=override-init] 4156 | .config_ctl_hi_val = 0x6, | ^~~ Remove the unused ones now to avoid confusion. Fixes: f4f0c8acee0e4 ("clk: qcom: gcc-ipq6018: update UBI32 PLL") Signed-off-by: Arnd Bergmann Reviewed-by: Dmitry Baryshkov Reviewed-by: Robert Marko --- drivers/clk/qcom/gcc-ipq6018.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c index 48f9bff7c80fb..86b43175b0422 100644 --- a/drivers/clk/qcom/gcc-ipq6018.c +++ b/drivers/clk/qcom/gcc-ipq6018.c @@ -4150,8 +4150,6 @@ static struct clk_branch gcc_dcc_clk = { static const struct alpha_pll_config ubi32_pll_config = { .l = 0x3e, .alpha = 0x6667, - .config_ctl_val = 0x240d6aa8, - .config_ctl_hi_val = 0x3c2, .config_ctl_val = 0x240d4828, .config_ctl_hi_val = 0x6, .main_output_mask = BIT(0),