summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-08-01 16:49:52 +0200
committerLinus Walleij <linus.walleij@linaro.org>2022-08-03 20:14:52 +0200
commitdf91ffe8cb75d9d80ffe821493bffdc11e65687c (patch)
treea2f69f0ece0283006864ebf2e58f24a81a0139e4 /drivers/pinctrl
parentdt-bindings: pinctrl: mt8186: Add and use drive-strength-microamp (diff)
downloadlinux-df91ffe8cb75d9d80ffe821493bffdc11e65687c.tar.xz
linux-df91ffe8cb75d9d80ffe821493bffdc11e65687c.zip
pinctrl: amd: Fix an unused variable
`char *output_enable` is no longer used once switching to unicode output. Fixes: e8129a076a50 ("pinctrl: amd: Use unicode for debugfs output") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20220801144952.141-1-mario.limonciello@amd.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-amd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 492b76f2c03e..4691a33bc374 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -216,7 +216,6 @@ static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc)
char *pull_up_enable;
char *pull_down_enable;
char *orientation;
- char *output_enable;
char debounce_value[40];
char *debounce_enable;