staging: wilc1000: fixes add spaces required around

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>
This commit is contained in:
Leo Kim 2016-01-27 11:50:27 +09:00 committed by Greg Kroah-Hartman
parent f05ab24945
commit 40095ad9ec
1 changed files with 2 additions and 2 deletions

View 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;
}