From patchwork Tue Jan 17 17:02:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 643506 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CB83C3DA78 for ; Tue, 17 Jan 2023 17:02:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232536AbjAQRCb (ORCPT ); Tue, 17 Jan 2023 12:02:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233883AbjAQRCZ (ORCPT ); Tue, 17 Jan 2023 12:02:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95B054393E; Tue, 17 Jan 2023 09:02:24 -0800 (PST) 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 332106149A; Tue, 17 Jan 2023 17:02:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64C67C433D2; Tue, 17 Jan 2023 17:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673974943; bh=J0fMJMgzFoKpVLn+Krs4tXYA63OB6Vo+2PIw/pLLrAw=; h=From:To:Cc:Subject:Date:From; b=gOsZkyAXeNghzO5zL4f/bDsyewx6FbmWk5rvXdLOEvJkEUJaBmQMKy1khkUUIVTd4 Oc8m/RR2SuwRihhHcJet6Uy8cU68N/+HUee3bnWhhDZ+GjHvetErRgX8k/owV3j5UI T6jdml3rFZOoNe8lxzrVWZB36P4QQhG/IH/tgmTm9Tv0wLcufmxJT0pef5l4Wf0YPu BH5mkjJcg6S+bTjTcVSuGZxUJVeaZYCvLUm0XD6WzavhBHvpQlBcd7k53bTvn942x3 xmxN5nA1eQS4jOoFd9iUHAy7oyixABvFmzEt65DPZIjUMJbr30gpEKLEbyhCg6oXoE zbHPWi3bP2I+Q== From: Arnd Bergmann To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Dmitry Baryshkov , Konrad Dybcio Cc: Arnd Bergmann , Alex Elder , Richard Acayan , Abel Vesa , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: rpmh: remove duplicate IPA clock reference Date: Tue, 17 Jan 2023 18:02:09 +0100 Message-Id: <20230117170217.2462320-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Arnd Bergmann One of the ones that were recently added was already there: drivers/clk/qcom/clk-rpmh.c:578:35: error: initialized field overwritten [-Werror=override-init] 578 | [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, Fixes: aa055bf158cd ("clk: qcom: rpmh: define IPA clocks where required") Signed-off-by: Arnd Bergmann Reviewed-by: Konrad Dybcio --- drivers/clk/qcom/clk-rpmh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index 393b83f6020e..45ee370f3307 100644 --- a/drivers/clk/qcom/clk-rpmh.c +++ b/drivers/clk/qcom/clk-rpmh.c @@ -575,7 +575,6 @@ static struct clk_hw *sc8280xp_rpmh_clocks[] = { [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, [RPMH_PKA_CLK] = &clk_rpmh_pka.hw, [RPMH_HWKM_CLK] = &clk_rpmh_hwkm.hw, - [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, }; static const struct clk_rpmh_desc clk_rpmh_sc8280xp = {