pinctrl: amd: Fix newline declaration in debugfs output
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 22 Jul 2022 22:08:09 +0000 (17:08 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Jul 2022 07:57:24 +0000 (09:57 +0200)
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>
drivers/pinctrl/pinctrl-amd.c

index 52a90b2..0058bcb 100644 (file)
@@ -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: