summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2014-08-25 15:31:16 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-26 02:13:15 +0400
commita77e4accce126d50d02705c687dd0b5025b63f89 (patch)
tree624949e292b5d3e3e68a1d77246813774549a923 /drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
parentb209af9981ee6b4274a0a46810dd0210e6520010 (diff)
downloadlinux-a77e4accce126d50d02705c687dd0b5025b63f89.tar.xz
stmmac: simple cleanups
This adds simple cleanups for stmmac, removing test we know is always true, fixing whitespace, and moving code out of if(). Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
index a5b1e1b776fe..8dd040827c69 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
@@ -253,7 +253,7 @@ int stmmac_mdio_register(struct net_device *ndev)
}
/*
- * If we're going to bind the MAC to this PHY bus,
+ * If we're going to bind the MAC to this PHY bus,
* and no PHY number was provided to the MAC,
* use the one probed here.
*/