mirror of https://gitee.com/openkylin/linux.git
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:
parent
f05ab24945
commit
40095ad9ec
|
@ -993,7 +993,7 @@ int wilc_mac_open(struct net_device *ndev)
|
||||||
vif = netdev_priv(ndev);
|
vif = netdev_priv(ndev);
|
||||||
wl = vif->wilc;
|
wl = vif->wilc;
|
||||||
|
|
||||||
if (!wl|| !wl->dev) {
|
if (!wl || !wl->dev) {
|
||||||
netdev_err(ndev, "wilc1000: SPI device not ready\n");
|
netdev_err(ndev, "wilc1000: SPI device not ready\n");
|
||||||
return -ENODEV;
|
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)
|
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;
|
return &vif->netstats;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue