cirrus: cs89x0: Code neatening
authorJoe Perches <joe@perches.com>
Fri, 18 May 2012 12:56:29 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2012 03:48:07 +0000 (23:48 -0400)
commitca034bcdb1786b0bfbe949c1575f8175d05325ce
treef37c2bdc2403cf350fb753dbda4ded471f1c8d3b
parentdd92b9ade4390783fdb64eec92dc5150a918e9a6
cirrus: cs89x0: Code neatening

Just some stylings.

Use #include <linux... not #include <asm...
Convert a test and print to a printk_once.
Combine an "if (foo) { if (bar) {" to single "if (foo && bar) {"
to save an indent level.
Convert single line "if (foo) bar;" to multiple lines.
Move some braces.
Align some long lines a bit better.

Long lines and printks with KERN_ checkpatch complaints
still exist.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cirrus/cs89x0.c