checkpatch: clean up structure definition macro handline
authorAndy Whitcroft <apw@canonical.com>
Tue, 26 Oct 2010 21:23:18 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:20 +0000 (16:52 -0700)
commit5eaa20b984eb316533b4a098d8de3912e434df6a
tree91df836f5b4fdd7745fde745adec27c4edeccb1a
parent015830be9779aeae7de7060b07a3157a8e41bcb4
checkpatch: clean up structure definition macro handline

Handle definitions such as the following correctly, it is not
a complex statement:

    #define PREALLOC(NAME, START, END, FLAGS) {     \
    .name = (NAME),                 \
    .start = (START),               \
    .end = (END),                   \
    .flags = (FLAGS)                \
    },

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl