au1000-eth: fix checkpatch errors.
authorFlorian Fainelli <florian@openwrt.org>
Tue, 6 Apr 2010 22:09:06 +0000 (22:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 09:07:49 +0000 (02:07 -0700)
commit2cc3c6b1bc2d68ddb003a94f7313999f7984735f
treeac4b09a37bc388062e7da1c94981324cff1f8382
parenteb0496308f22093d5b3ce6c9d591233047f41d39
au1000-eth: fix checkpatch errors.

This patch fixes multiple errors reported by checkpatch:
- else not on the ending brace of an if { }
- multiple occurences of for( instead of for (
- c99 comments
- assignment and tests on the same line
- test and statements on the same line
- macro with complex value not between parenthesis
- static variable with initialization value

No functionnal change.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/au1000_eth.c
drivers/net/au1000_eth.h