• Artem Bityutskiy's avatar
    mtd: mtdoops: several minor cleanups · a15b124f
    Artem Bityutskiy authored
    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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Cc: Simon Kagstrom <simon.kagstrom@netinsight.net>
    Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
    a15b124f
mtdoops.c 11.2 KB