From patchwork Tue May 7 05:59:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13656290 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1521C10F1A for ; Tue, 7 May 2024 06:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gZ1vQV3s3QZ7eddEPSEku6mVFZL+WhzNvMwHTXUv8e8=; b=QZKPhX0JMqWqep FyHhOfvML2n+OM6rqZrio4GynOc6wF4OuJLIrslhfHpQMSyfjY5A4x0GR3xbRK1H6ZQ9z9s2rV6By A7iYCdUEKMoljFblyzVj+P6WQFlFZbrbf0jSEFByn0qj4wBccVZ7C2CwzoxzAME+6dRHh98tf1gsi zQ6xg+IFai9yUFRuxZ82vYejmGHLL8KJ/DFApfUonjhrjq82ZRJfmA2LiRqkS0xQJiCE5xaPIgBYF HZm1SfQtXxj/r0FOK3oR5g9zUk8LL2WQ20EHJuGNS3Bz/Hr4tWERbFQQvkL05U8E6rlIzDNGb0iz4 lPJzvABbqz/Fg5A1qWXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Drq-00000009lBY-1aDQ; Tue, 07 May 2024 05:59:58 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Drn-00000009lAp-0WUP for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 05:59:56 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-51ffff16400so3790553e87.2 for ; Mon, 06 May 2024 22:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715061592; x=1715666392; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=V2DqXD03WzJThrTJ1Ryt0LAxq6uqFsgoSmVFQ8TUEf8=; b=BhxDgSDHV4C4DEDRB1olTCC1mzLFScu30vZgxwppGUOsg5Q5aNMpwoybR+ANNIoY+8 kkAyuUTcbhZoLQIgK/NRQjx8UqKwdRcZ3TVvxRvU1r6P1J/NudJGtrXjNpvVYOHJ4d3H H47VYK6D9frLL34lRaU8J31Xgs3Vw/ZXTyvLHAL/U3E4u2BUYmYUWfX3EMNpYocQHTaQ nGiv1QdIBY2GXiZJ+WPcrFhV1RVZ13iyfR+pRxii4I/4Yugs1WJyxlesddeFdfBZZYG/ Af+e/WlFoV2NaFA16ZKYsdfLAP8VNAaqTaf1a0geumObawpnBvT7OYQ2ds64bczGg33d 04cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715061592; x=1715666392; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V2DqXD03WzJThrTJ1Ryt0LAxq6uqFsgoSmVFQ8TUEf8=; b=DgOiKFJGuk6ILj58T1ORmCNpjOHRZNW7DeC4MuEybDfLE0+egFSqfw9+xz5cGtavPT BN4KByHTXahvRE+ccvdsiCFYKrtb8/rdXsrX+BGUMU9Qn7q2yIMX70MThBkVBnpNZFuN ZAn2T6hxpIfgY0LeIIoDGremDa0fue1InGfE66SsTyE6UmaYws+P0vOKC6mNytRGevUt 7hzGVGlbAF6/PDSq3ExUB/e90+FFuxYvOFC7PE+d06klDvH2WvxCNEbDq2iwtvIRjgmP qCAs0xHX7Bn6255Oe+l2UMCzoG9hIwcJoMAvK9RLCH15YOhZr2cmO4qZSU2jIKrlAFGL cX8A== X-Forwarded-Encrypted: i=1; AJvYcCWyaIBPuHQ3TqkXGd21vISZwfiWjJCBo37G4fIddtSRdUgRQ10VndcZ26K7Etm904v5ZOMRIJDvt1feO6xjZ42LvltWJeuBKdLsx7p6o8OchxDLInw= X-Gm-Message-State: AOJu0YwNczEraaTFagRkQ8PfXACP9tfPkbvT3s19XwPPbLSbQEtuMDRg gcTsphPOCBNFFTxLOdGL+v/RbpVZMvm3/JiBg71g9I/mbjDRkNtKSqeAE1MwCSg= X-Google-Smtp-Source: AGHT+IHAoEd1Vj8PO/OsWzB6VwiWyVdXfuzPDSC6+IUdzvwVU7M5dm88SzviPvIsnMQnSANGCGrSDw== X-Received: by 2002:a05:6512:6d5:b0:51f:6ab6:9e5b with SMTP id u21-20020a05651206d500b0051f6ab69e5bmr13524658lff.36.1715061592083; Mon, 06 May 2024 22:59:52 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id z18-20020a1709060bf200b00a59cf813f34sm1975488ejg.144.2024.05.06.22.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 22:59:51 -0700 (PDT) From: Krzysztof Kozlowski To: Peter Griffin , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , =?utf-8?q?Andr=C3=A9_Draszik?= , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] clk: samsung: gs101: drop unused HSI2 clock parent data Date: Tue, 7 May 2024 07:59:48 +0200 Message-ID: <20240507055948.34554-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240506_225955_210545_497A2848 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop static const arrays with HSI2 clocks parent data which are not referenced by any clock. This might cause -Werror=unused-const-variable warnings. Reported-by: Stephen Boyd Closes: https://lore.kernel.org/all/8bf65df598680f0785c3d6db70acfb9a.sboyd@kernel.org/ Fixes: 093c290084a4 ("clk: samsung: gs101: add support for cmu_hsi2") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Peter Griffin --- drivers/clk/samsung/clk-gs101.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/clk/samsung/clk-gs101.c b/drivers/clk/samsung/clk-gs101.c index e2a6a1992505..ba9570f7a5fa 100644 --- a/drivers/clk/samsung/clk-gs101.c +++ b/drivers/clk/samsung/clk-gs101.c @@ -2601,21 +2601,6 @@ static const unsigned long cmu_hsi2_clk_regs[] __initconst = { QUEUE_CTRL_REG_BLK_HSI2_CMU_HSI2, }; -PNAME(mout_hsi2_ufs_embd_p) = { "oscclk", "dout_cmu_shared0_div4", - "dout_cmu_shared2_div2", "fout_spare_pll" }; - -PNAME(mout_hsi2_pcie_p) = { "oscclk", "dout_cmu_shared2_div2" }; - -PNAME(mout_hsi2_bus_p) = { "dout_cmu_shared0_div4", - "dout_cmu_shared1_div4", - "dout_cmu_shared2_div2", - "dout_cmu_shared3_div2", - "fout_spare_pll", "oscclk", "oscclk", - "oscclk" }; - -PNAME(mout_hsi2_mmc_card_p) = { "fout_shared2_pll", "fout_shared3_pll", - "dout_cmu_shared0_div4", "fout_spare_pll" }; - PNAME(mout_hsi2_bus_user_p) = { "oscclk", "dout_cmu_hsi2_bus" }; PNAME(mout_hsi2_mmc_card_user_p) = { "oscclk", "dout_cmu_hsi2_mmc_card" }; PNAME(mout_hsi2_pcie_user_p) = { "oscclk", "dout_cmu_hsi2_pcie" };