[PATCH] pinctrl: spacemit: remove extra line in debug output
Linus Walleij
linus.walleij at linaro.org
Mon Aug 18 08:17:47 PDT 2025
On Tue, Aug 5, 2025 at 5:08 PM Hendrik Hamerlinck
<hendrik.hamerlinck at hammernet.be> wrote:
> 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 at hammernet.be>
Patch applied!
Yours,
Linus Walleij
More information about the linux-riscv
mailing list