include/linux/printk.h: use and neaten no_printk
authorJoe Perches <joe@perches.com>
Thu, 13 Jan 2011 00:59:45 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:09 +0000 (08:03 -0800)
commit5264f2f75d8678f3e9683042a4639baa5884bda9
tree1c50abbe3179ece00cbb14623d7724602fa17f8c
parent7d1e91aeb317c3c747369d8594fc1b742c265a07
include/linux/printk.h: use and neaten no_printk

- Move no_printk above first CONFIG_PRINTK block so it can be used by
  printk_once.

- Convert statement expression if (0) printk macros to no_printk.

- Convert printk_once(x...) to more normally used (fmt, ...) fmt,
  ##__VA_ARGS__.

- Standardize __attribute__ use.

- Expand single line inline functions.

- Remove space before pointer.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/printk.h