jffs2: Standardize JFFS_<LEVEL> uses
authorJoe Perches <joe@perches.com>
Wed, 15 Feb 2012 23:56:46 +0000 (15:56 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:42:14 +0000 (00:42 +0100)
commit9bbf29e4757fb152c8673eda0b1e9d507b953df9
treeca2462838286fb1e7fe06e4a6fedf78ac36d4904
parent5a528957e7c74f1fed73fe20424b7a3421658877
jffs2: Standardize JFFS_<LEVEL> uses

Use pr_<level> to prefix KBUILD_MODNAME via pr_fmt.

Remove obfuscating defines and use constants in pr_<level>
No need for a do {} while (0) for single statements.

Form of JFFS_<LEVEL> output changes from
"JFFS2 notice: " to "jffs2: notice: "

Added pr_fmt to xattr.c

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/debug.c
fs/jffs2/debug.h
fs/jffs2/xattr.c