From nobody Sun May 10 16:28:17 2026 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 B6B03C433F5 for ; Fri, 29 Apr 2022 06:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354460AbiD2GRI (ORCPT ); Fri, 29 Apr 2022 02:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354447AbiD2GRF (ORCPT ); Fri, 29 Apr 2022 02:17:05 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443CEA94D1 for ; Thu, 28 Apr 2022 23:13:47 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id r13so13502428ejd.5 for ; Thu, 28 Apr 2022 23:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=viXcLhXltMgVR3wPsqIa9KtMGQ0jNk7lgpVp7rd3Rfw=; b=c4S2DE6YQasUz7KtVf9WKicc51SIwdA4vtns/C0gbrBKxX752dqlpGq5nrrdu9ttDG 4AS0XIWR+DiDf+gl78G23wL4MALcaanxjf2qcQu+68jJWlJYo6/iMHObdtVx++NDK0L0 aEYJfH3j74coSi8uP/iUjGUNNfBZTvWqoZLhEWjayN4MkCBjZOLKaO0VBEVEvbN4DDkW wFlm6Cxodm0nnoPafgK3SJnO6vopQvJw3QouDMfIw8osaUj6tAuxwxp2BdToIKWmVC/T LYNHmLEu50NLl+W2N7QxA1R2T4/jUrqQ4yYkK/oqIQzo7YkKlMglHbhXDJNvGx5t8X6D bVqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=viXcLhXltMgVR3wPsqIa9KtMGQ0jNk7lgpVp7rd3Rfw=; b=bcUW6RLpHk80LS4CD9a+bv+sqmTSXyFNNviXCxwLJ9rzYKgMb9nnbnc+BAb1CCIOL8 ichGSywGk/D5eGzjJWwvh5oQCmLXDedpgVNB78a2b+JxJ9/z8PnqED48+0scBB6cThQj 3GQv6n2G6XzqypS+YUrQDibcaMtai3pM41by6BWL0c10HgUig4NPe0PbgtQjbpd+hY5d shh/InV0t9cZ3pURhG2OEjTWiaY4ePfNXr8vNgxQhbWCFeVN5Kmj8bVFvGVen0w3y+h0 rnsghRK7p/y4/Or2sghme0iXtLNk45wl9AOP/f8tvwuK90b6d7CoC9U5VZVWDTMi/nyA Lm7Q== X-Gm-Message-State: AOAM530dDGJ4vhTtbANnE5E6aBdsWV1Qyv2ysj9yV2sb3Q0gltSUGugX e1NBEe2Bbl51jcVdkTQGK5E/Pw== X-Google-Smtp-Source: ABdhPJzibRTftl8rRIfJFXNZNDkzUnH8FJ1U5QhJrp0S97Px3s2qSHl6zZovZaiIRGJ1vbejJA19rw== X-Received: by 2002:a17:907:e88:b0:6ef:bce9:ff6a with SMTP id ho8-20020a1709070e8800b006efbce9ff6amr36798968ejc.275.1651212825606; Thu, 28 Apr 2022 23:13:45 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id t25-20020aa7db19000000b0042617ba63besm2532191eds.72.2022.04.28.23.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 23:13:45 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Thierry Reding , Jonathan Hunter , Prathamesh Shete , linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] pinctrl: tegra: tegra194: drop unused pin groups Date: Fri, 29 Apr 2022 08:13:32 +0200 Message-Id: <20220429061332.25135-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The sdmmc1_hv_trim_pins, sdmmc3_hv_trim_pins and sys_reset_n_pins are not defined as pin groups: drivers/pinctrl/tegra/pinctrl-tegra194.c:1119:27: error: =E2=80=98sdmmc3_= hv_trim_pins=E2=80=99 defined but not used [-Werror=3Dunused-const-variable= =3D] 1119 | static const unsigned int sdmmc3_hv_trim_pins[] =3D { Proper fix would be to define them, but this requires knowledge from datasheet. Removal should not cause any harm and at least it silences the warnings. Fixes: 613c0826081b ("pinctrl: tegra: Add pinmux support for Tegra194") Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/tegra/pinctrl-tegra194.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/pinctrl/tegra/pinctrl-tegra194.c b/drivers/pinctrl/teg= ra/pinctrl-tegra194.c index 5c1dfcb46749..f6c5d5e6dbb6 100644 --- a/drivers/pinctrl/tegra/pinctrl-tegra194.c +++ b/drivers/pinctrl/tegra/pinctrl-tegra194.c @@ -1110,24 +1110,15 @@ static const unsigned int sdmmc4_dat0_pins[] =3D { static const unsigned int sdmmc1_comp_pins[] =3D { TEGRA_PIN_SDMMC1_COMP, }; -static const unsigned int sdmmc1_hv_trim_pins[] =3D { - TEGRA_PIN_SDMMC1_HV_TRIM, -}; static const unsigned int sdmmc3_comp_pins[] =3D { TEGRA_PIN_SDMMC3_COMP, }; -static const unsigned int sdmmc3_hv_trim_pins[] =3D { - TEGRA_PIN_SDMMC3_HV_TRIM, -}; static const unsigned int eqos_comp_pins[] =3D { TEGRA_PIN_EQOS_COMP, }; static const unsigned int qspi_comp_pins[] =3D { TEGRA_PIN_QSPI_COMP, }; -static const unsigned int sys_reset_n_pins[] =3D { - TEGRA_PIN_SYS_RESET_N, -}; static const unsigned int shutdown_n_pins[] =3D { TEGRA_PIN_SHUTDOWN_N, }; --=20 2.32.0