mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] pinctrl: amd: Fix newline declaration in debugfs output
@ 2022-07-22 22:08 Mario Limonciello
  2022-07-22 22:08 ` [PATCH 2/2] pinctrl: amd: Use unicode for " Mario Limonciello
  2022-07-26  8:00 ` [PATCH 1/2] pinctrl: amd: Fix newline declaration in " Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Mario Limonciello @ 2022-07-22 22:08 UTC (permalink / raw)
  To: mario.limonciello, Basavaraj Natikar, Shyam Sundar S K, Linus Walleij
  Cc: linux-gpio, linux-kernel

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>
---
 drivers/pinctrl/pinctrl-amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 0645c2c24f50..b7f34352b5d4 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -224,7 +224,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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-26 13:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 22:08 [PATCH 1/2] pinctrl: amd: Fix newline declaration in debugfs output Mario Limonciello
2022-07-22 22:08 ` [PATCH 2/2] pinctrl: amd: Use unicode for " Mario Limonciello
2022-07-26  8:02   ` Linus Walleij
2022-07-26 13:27     ` Limonciello, Mario
2022-07-26  8:00 ` [PATCH 1/2] pinctrl: amd: Fix newline declaration in " Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®