mtd: mtdoops: several minor cleanups
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 11 Oct 2009 10:40:40 +0000 (13:40 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 12:01:56 +0000 (12:01 +0000)
commita15b124fc4f15b2c4fc51669c936a30ce179d1f7
tree7efd103ad36ec7bdbb564dcf26a5676d40bee192
parent456b565cc52fbcdaa2e19ffdf40d9dd3b726d603
mtd: mtdoops: several minor cleanups

While looking into the mtdoops module, I've spotted several minor
imperfections. This patch addresses them. Namely:

1. Remove several trailing white-spaces and tabs
2. Check 'vmalloc()' return code straight away, not several lines
   below in the 'mtdoops_console_init()' function.
3. Clean up printks - make them more consistent and use the same
   code formatting style for them.
4. Remove silly style of putting brackets around everything in
   "if" operators.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdoops.c