]> git.baikalelectronics.ru Git - kernel.git/commit
proc: use seq_puts()/seq_putc() where possible
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 13 Jan 2011 01:00:32 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:16 +0000 (08:03 -0800)
commitd9d57b6ecb4909dd96cd344df6ce4d87cd5f1359
treea5bc7cb77c710418c44e2b1c009e80d79e12e3ab
parent3c7e5af5dcf8a1e5b5f35c192473475148d89af3
proc: use seq_puts()/seq_putc() where possible

For string without format specifiers, use seq_puts().
For seq_printf("\n"), use seq_putc('\n').

   text    data     bss     dec     hex filename
  61866     488     112   62466    f402 fs/proc/proc.o
  61729     488     112   62329    f379 fs/proc/proc.o
  ----------------------------------------------------
      -139

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/array.c
fs/proc/base.c
fs/proc/devices.c
fs/proc/proc_tty.c
fs/proc/softirqs.c
fs/proc/stat.c