]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: tegra238: remove unused entries
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 May 2026 09:41:20 +0000 (11:41 +0200)
committerLinus Walleij <linusw@kernel.org>
Fri, 29 May 2026 19:57:35 +0000 (21:57 +0200)
commit119de2c33d96d2b4e79f8fbe8ec0c5b5939e0a52
treed812d81a0cb5ac350f092b7b647b272ac0386de0
parent0524a508b2cf7a3819406cd10d43d6e30fa31004
pinctrl: tegra238: remove unused entries

The -Wunused-const-variable check points out a number of added
entries that are currently not referenced:

drivers/pinctrl/tegra/pinctrl-tegra238.c:1169:27: error: 'soc_gpio86_phh3_pins' defined but not used [-Werror=unused-const-variable=]
 1169 | static const unsigned int soc_gpio86_phh3_pins[] = {
      |                           ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra238.c:1165:27: error: 'uart5_cts_phh2_pins' defined but not used [-Werror=unused-const-variable=]
 1165 | static const unsigned int uart5_cts_phh2_pins[] = {
      |                           ^~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra238.c:1161:27: error: 'uart5_rts_phh1_pins' defined but not used [-Werror=unused-const-variable=]
 1161 | static const unsigned int uart5_rts_phh1_pins[] = {
      |                           ^~~~~~~~~~~~~~~~~~~

Remove them for now, they can just be added back if they get
used in the future.

Fixes: 25cac7292d49 ("pinctrl: tegra: Add Tegra238 pinmux driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/tegra/pinctrl-tegra238.c