]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: thinkpad_acpi: use seq_puts() instead of seq_printf()
authorCoby McKinney <coby@bytemap.space>
Mon, 2 Feb 2026 20:52:11 +0000 (12:52 -0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 9 Mar 2026 08:05:15 +0000 (10:05 +0200)
commitc2948247cd1a6f3e476df46a1bd903c79f3228dd
treeedcbfe55bdc48a1f34693e377a4caa555efcbf91
parent1b0b124a9c41bf384f609003a97ba35a25fae130
platform/x86: thinkpad_acpi: use seq_puts() instead of seq_printf()

checkpatch.pl reported warnings where seq_printf() was used for simple
strings with no format specifiers.

Replace these instances with seq_puts() to avoid the overhead of runtime
string parsing and to conform to kernel coding standards.

Signed-off-by: Coby McKinney <coby@bytemap.space>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20260202205214.18898-1-coby@bytemap.space
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/thinkpad_acpi.c