Commit b761cbb5 authored by Vikram Dhillon's avatar Vikram Dhillon Committed by Greg Kroah-Hartman

Staging: arlan: arlan.h: Fixed some style issues

Fixed some style issues in accordance with checkpatch.pl. Before the
patch contained "total: 2 errors, 186 warnings, 535 lines checked" and
now it has: total: 0 errors, 170 warnings. Most of the warnings that
remain now are the line over 80 chars ones.
Signed-off-by: default avatarVikram Dhillon <dhillonv10@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 491dbc8d
......@@ -445,8 +445,8 @@ struct arlan_private {
#define registrationBad(dev)\
(( READSHMB(((struct arlan_private *)netdev_priv(dev))->card->registrationMode) > 0) && \
( READSHMB(((struct arlan_private *)netdev_priv(dev))->card->registrationStatus) == 0))
((READSHMB(((struct arlan_private *)netdev_priv(dev))->card->registrationMode) > 0) && \
(READSHMB(((struct arlan_private *)netdev_priv(dev))->card->registrationStatus) == 0))
#define readControlRegister(dev)\
......@@ -461,9 +461,9 @@ struct arlan_private {
int cr; \
\
cr = readControlRegister(dev);\
if (cr & ARLAN_CHANNEL_ATTENTION) { \
if (cr & ARLAN_CHANNEL_ATTENTION) \
writeControlRegister(dev, (cr & ~ARLAN_CHANNEL_ATTENTION));\
} else \
else \
writeControlRegister(dev, (cr | ARLAN_CHANNEL_ATTENTION));\
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment