diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-05-13 20:15:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 16:43:10 -0700 |
commit | fcd9f3596c3465bc377a7ed6e7dee11ce9ab2d78 (patch) | |
tree | 5c9dc57897b0dfed648228c949dc39370f113ac3 /drivers/staging/rtl8192u/r8180_93cx6.c | |
parent | 2b52d1e3488970a12101d0c98a072249f4bb36b5 (diff) |
rtl8192u: fix whitespace around if statements in r8180_93cx6.c
This patch fixes a part of the following checkpatch error:
ERROR: space required before the open parenthesis '('
by adding space after if
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r8180_93cx6.c')
-rw-r--r-- | drivers/staging/rtl8192u/r8180_93cx6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/r8180_93cx6.c b/drivers/staging/rtl8192u/r8180_93cx6.c index 7e49ad8f48f6..ff68fb1147ed 100644 --- a/drivers/staging/rtl8192u/r8180_93cx6.c +++ b/drivers/staging/rtl8192u/r8180_93cx6.c @@ -22,7 +22,7 @@ void eprom_cs(struct net_device *dev, short bit) { - if(bit) + if (bit) write_nic_byte_E(dev, EPROM_CMD, (1<<EPROM_CS_SHIFT) | \ read_nic_byte_E(dev, EPROM_CMD)); //enable EPROM @@ -50,7 +50,7 @@ void eprom_ck_cycle(struct net_device *dev) void eprom_w(struct net_device *dev,short bit) { - if(bit) + if (bit) write_nic_byte_E(dev, EPROM_CMD, (1<<EPROM_W_SHIFT) | \ read_nic_byte_E(dev,EPROM_CMD)); else @@ -69,7 +69,7 @@ short eprom_r(struct net_device *dev) bit=(read_nic_byte_E(dev, EPROM_CMD) & (1<<EPROM_R_SHIFT) ); udelay(EPROM_DELAY); - if(bit) return 1; + if (bit) return 1; return 0; } |