staging: wilc1000: fixes add spaces required around
authorLeo Kim <leo.kim@atmel.com>
Wed, 27 Jan 2016 02:50:27 +0000 (11:50 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:28:21 +0000 (15:28 -0800)
This patch fixes the checks reported by checkpatch.pl
for spaces required around that '=' or '||' or '('.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index 6b0800b..b368c2d 100644 (file)
@@ -993,7 +993,7 @@ int wilc_mac_open(struct net_device *ndev)
        vif = netdev_priv(ndev);
        wl = vif->wilc;
 
-       if (!wl|| !wl->dev) {
+       if (!wl || !wl->dev) {
                netdev_err(ndev, "wilc1000: SPI device not ready\n");
                return -ENODEV;
        }
@@ -1054,7 +1054,7 @@ int wilc_mac_open(struct net_device *ndev)
 
 static struct net_device_stats *mac_stats(struct net_device *dev)
 {
-       struct wilc_vif *vif= netdev_priv(dev);
+       struct wilc_vif *vif = netdev_priv(dev);
 
        return &vif->netstats;
 }