checkpatch: Prefer seq_puts to seq_printf
authorJoe Perches <joe@perches.com>
Mon, 29 Apr 2013 23:18:13 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:19 +0000 (18:28 -0700)
commita6962d7273d8f89c136fe9ea3d61d7f47adcd823
tree67d260393e057398039f81acf41c4d35d7c6a01f
parent972fdea2e6ece7578915d386a5447bc78d3fb8b8
checkpatch: Prefer seq_puts to seq_printf

Add a check for seq_printf use with a constant format without additional
arguments.  Suggest seq_puts instead.

Signed-off-by: Joe Perches <joe@perches.com>
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl