From: Chen Jung Ku Date: Tue, 26 May 2026 12:19:05 +0000 (+0800) Subject: gpio: gpiolib: use seq_puts() for plain strings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20de1f993ea6ca9a9d15fe2e433f9e58841999f0;p=thirdparty%2Fkernel%2Flinux.git gpio: gpiolib: use seq_puts() for plain strings Replace seq_printf() with seq_puts() where the format string is a plain string literal with no format specifiers. No functional change intended. Signed-off-by: Chen Jung Ku Link: https://patch.msgid.link/20260526121905.46345-1-ku.loong@gapp.nthu.edu.tw Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 9643af18e8abd..c72eec54cb196 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -5520,8 +5520,8 @@ static int gpiolib_seq_show(struct seq_file *s, void *v) if (gc->label) seq_printf(s, ", %s", gc->label); if (gc->can_sleep) - seq_printf(s, ", can sleep"); - seq_printf(s, ":\n"); + seq_puts(s, ", can sleep"); + seq_puts(s, ":\n"); if (gc->dbg_show) gc->dbg_show(s, gc);