aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-07-22 17:08:09 -0500
committerLinus Walleij <linus.walleij@linaro.org>2022-07-26 09:57:24 +0200
commitdc24b7530dff6d2c1f92ba75e10f335eebc48ccc (patch)
tree33a06b87780485a7deceaf91bc5e17610fa73001 /drivers/pinctrl
parentpinctrl: at91: Fix typo 'the the' in comment (diff)
downloadlinux-dev-dc24b7530dff6d2c1f92ba75e10f335eebc48ccc.tar.xz
linux-dev-dc24b7530dff6d2c1f92ba75e10f335eebc48ccc.zip
pinctrl: amd: Fix newline declaration in debugfs output
Currently the debugfs output for pinctrl-amd puts the first line combined with "GPIO bank". This makes it a little harder to process as the file needs to be manually corrected for the mistake. Change this to be a new line character instead. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20220722220810.28894-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 52a90b2289da..0058bcb20e7d 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -223,7 +223,7 @@ static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc)
char *debounce_enable;
for (bank = 0; bank < gpio_dev->hwbank_num; bank++) {
- seq_printf(s, "GPIO bank%d\t", bank);
+ seq_printf(s, "GPIO bank%d\n", bank);
switch (bank) {
case 0: