]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: spacemit: remove extra line in debug output
authorHendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>
Tue, 5 Aug 2025 15:07:01 +0000 (17:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Aug 2025 15:17:20 +0000 (17:17 +0200)
commit694a97ee25581630f70773d160fcc2364afe98c8
treef0b55f0d5d5ce2fde60423329fb91a3b221cc294
parent65fe705367efc3e06ccfa2a3a107081d8e69f70e
pinctrl: spacemit: remove extra line in debug output

The debug output for spacemit_pinconf_dbg_show() prints an extra newline
at the end. This is redundant as pinconf_pins_show() in pinconf.c already
adds a newline in its for loop.

Remove the newline to avoid the extra line in the output.

Example current output:
$ cat /sys/kernel/debug/pinctrl/d401e000.pinctrl/pinconf-pins
Pin config settings per pin
Format: pin (name): configs
pin 0 (GPIO_00): , bias pull disabled, io type (Fixed/1V8), drive strength (32 mA), register (0x1041)

pin 1 (GPIO_01): slew rate (0x0), bias pull disabled, io type (Fixed/1V8), drive strength (32 mA), register (0x1041)

pin 2 (GPIO_02): slew rate (0x0), bias pull disabled, io type (Fixed/1V8), drive strength (32 mA), register (0x1041)

...

Signed-off-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/20250805150701.129113-1-hendrik.hamerlinck@hammernet.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spacemit/pinctrl-k1.c