Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp317726lqh; Mon, 6 May 2024 23:00:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdWGzuEDtY/PwVoiKuhpZSxAjItaRge+urXmws6QZRaAYCZQZa2n3ioFPDUKlaHQYmx2tpjMvkZqFTT5XLp6QHEVnQUPt3KZcj0okIFA== X-Google-Smtp-Source: AGHT+IHejnNBWy957c5MzGkyHk3qmkf26o/8VW9rhldudbhEt4bLyIfhv61zHYOvGAf0AWnL/juX X-Received: by 2002:a05:620a:280b:b0:790:8837:c0ab with SMTP id f11-20020a05620a280b00b007908837c0abmr16642292qkp.28.1715061603167; Mon, 06 May 2024 23:00:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715061603; cv=pass; d=google.com; s=arc-20160816; b=Va/JzCZpRKZLgqkLYKN3bbRuZD1CfDb+HRmQktT6BSW2p3X2aBzlS/MSkICfXhvNbU uzDSO+5cngaOzqVYOzdTo0Y9RjYys1q7s/vMg0r3jUczWIvH0SYUdsE6TQBzz6vZ0tM1 VBir+/5B2URNYV1VucesLpzZJZKpk3pUtkGJbjRNNxtvKwIVI4zUCLuSknZjkwNRTDLb 1AR4QyR4ZaokzQdq2OYsinjjqL/iX09mUl1fnXPJ1CwLEpiK40MtAKl7rrF2+loM/9kZ f3JkwkpMiJ9Nr98Gz9N3hOnWB9xBzlL71//rYqmrd/np9SRLs5vB9f3/acWcHOaLmdus dOUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=V2DqXD03WzJThrTJ1Ryt0LAxq6uqFsgoSmVFQ8TUEf8=; fh=IpZtskw7+iX68CBXnjm2ohCIlCdK9k9qUMU0jUZML4E=; b=xWPvjempZgb4dpkFGu6NTR0XfgZ/yPzT3UZLel1KYyK0K9u27vB0YUiCoDoqrZ1DtW UCc0XeOJkNknG9C1/s1gfmJ9uNzLzhRnZ0TpPlVaTV7MfcxFVz3zUjXe8vyj5mNol3ja UNyUcMj15PFAXRa2CgtSrAuLMY6mdXGdaCGNWlg0svn/GxoupF/BVGPJh5QnrB7NDumT Fo+Cy1+2+SC40KMjFQ0K9mZHRnsmY7qswVhw+fSn2zPVjGiYpIx+xp4e98g/6JvCbZNe SeQper9uHjqnUeJmHxyzhvzWx1aAXWW87beiTf93hz6cJcCzH+0nC8380+iE54qfLv8i vF+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IItixv1P; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-170716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z27-20020a05620a261b00b007909bf05622si11726385qko.31.2024.05.06.23.00.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 23:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IItixv1P; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-170716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 86CAC1C2130F for ; Tue, 7 May 2024 06:00:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6849F6E5FE; Tue, 7 May 2024 05:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IItixv1P" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06738381C4 for ; Tue, 7 May 2024 05:59:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715061596; cv=none; b=bwEmvwPTUgzNYwLStt4CWjUqFXuTYs8nqX4DdkzqWo44l3iDoEVJ6uh47X5a9TOADMZU/LLnN9kGrgkhUMjS7iXM8T71RLLEqktZiDEiSIHC8xfeCrv8WjTPWCB4WOX6mEedOvnA2Eds5qHunuz7oR9xeZsUR3KfYHCUiPmj9jo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715061596; c=relaxed/simple; bh=Yguzo2c8YUB36SQvoM6wmMpm2FeEziBCRIGTv3E6rIY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U4ivcXDICIu42cVCVes854o6dNmt0d7QB+CcnuCuzmucN4LsLfY3GVqNqfyxD5ldmIe3p5pOhtBU/tVXJcAK/xBXCtZSDUuS6VsA8vaghYPpu3BVpcbWA4O/R7U2NuhYZQrcWaMIMbrM4K3MEKtcmS2F8Yq9JJVzonjwWnwKF6c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IItixv1P; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-51f1b378ca5so4637504e87.1 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=vger.kernel.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=IItixv1PJ99VTcEpMTtQgZ0xKHqvcCVVoCuyJkD7FuUHF0PoQ6p9fxj5r9vhATGz2U 0h3KN+yEb7o7pd+3yLLTzYVR+UUADNefZ94Jy4g8V3hvBqvMU0j1AIQdg443FK7A2RQi Wl2xH72wmtjb2Ew/zL7oBa0pnPz/ZFSI+nWYrBRYn8spT14+LfVn0jsy0YgRpLaqsRfy FsQJVTpvB/W4apPzylMUDhKXYqtd13b1A2mEeR2hdXIMJOpDksjK1S621j7J8yhHoQU0 aXOff9Ch9oOFJL+zch1XDsSuaB4s//0L7RF1YS+ZxSZ3B7Wg4VjTVbTiMI5AjajNMA8u 3plQ== 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=nZSHpXTyne1/IMLMPeQAiK7qOhw4Yr7igKXnii57Hu9oFIi1ymbD8Ji1xwnha3BMF6 33Up/I78MrlOxmUx0y/A+qQ9RB5LeIHiO+TVPUu/PULdGzZBoaUOYCudEtVh3dV9oxIW ntR6bWJlle4IFVTQ8y/2X35NrddUt9VERa1HEjpJO/mb+0gyxE8Ep7hg8VZFqCLcycnc MUDq5sfT6vW4m7btE8rDd34rrYpX56GPRtjZKd6otPf13P292DxHETVzDYgiqtrqa+OE w91W1LPyJREQNKurLhwfghegJbLIuRDSIwTLhiFssh3hC0WwosPAAo/TGQkJ0rzcm4bq S+ug== X-Forwarded-Encrypted: i=1; AJvYcCV9hapeAqLe2MjYNG/N7cTqkIPnLMh3hLg9GLDmYKr/0owiPD5ofSHmgYIUtfla+AqgomP2xPKtk5FgFh2GYd8j7OmaD2P1uMk1UWei X-Gm-Message-State: AOJu0YwE1Qju6E9l8r6KbFWPkQ8tHGPV59FVly98kD1SjXbdk3n0DMQk wsgpNH37OgbGheLFfGYZ3UsfI+D3/ASTwXrR7BP49vLRKsPbePgj74hAe6AcPgs= 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=20Draszik?= , 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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" }; -- 2.43.0