mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
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>
This commit is contained in:
parent
65fe705367
commit
694a97ee25
|
|
@ -707,7 +707,7 @@ static void spacemit_pinconf_dbg_show(struct pinctrl_dev *pctldev,
|
|||
spacemit_get_drive_strength_mA(IO_TYPE_1V8, tmp),
|
||||
spacemit_get_drive_strength_mA(IO_TYPE_3V3, tmp));
|
||||
|
||||
seq_printf(seq, ", register (0x%04x)\n", value);
|
||||
seq_printf(seq, ", register (0x%04x)", value);
|
||||
}
|
||||
|
||||
static const struct pinconf_ops spacemit_pinconf_ops = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user