Commit a7dd3219 authored by Lothar Waßmann's avatar Lothar Waßmann Committed by David S. Miller

net/fec: misc cleanups

- remove some bogus whitespace
 - remove line wraps from printk messages
Signed-off-by: default avatarLothar Waßmann <LW@KARO-electronics.de>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efab79c5
...@@ -972,8 +972,9 @@ static int fec_enet_mii_probe(struct net_device *ndev) ...@@ -972,8 +972,9 @@ static int fec_enet_mii_probe(struct net_device *ndev)
} }
if (phy_id >= PHY_MAX_ADDR) { if (phy_id >= PHY_MAX_ADDR) {
printk(KERN_INFO "%s: no PHY, assuming direct connection " printk(KERN_INFO
"to switch\n", ndev->name); "%s: no PHY, assuming direct connection to switch\n",
ndev->name);
strncpy(mdio_bus_id, "0", MII_BUS_ID_SIZE); strncpy(mdio_bus_id, "0", MII_BUS_ID_SIZE);
phy_id = 0; phy_id = 0;
} }
...@@ -998,8 +999,9 @@ static int fec_enet_mii_probe(struct net_device *ndev) ...@@ -998,8 +999,9 @@ static int fec_enet_mii_probe(struct net_device *ndev)
fep->link = 0; fep->link = 0;
fep->full_duplex = 0; fep->full_duplex = 0;
printk(KERN_INFO "%s: Freescale FEC PHY driver [%s] " printk(KERN_INFO
"(mii_bus:phy_addr=%s, irq=%d)\n", ndev->name, "%s: Freescale FEC PHY driver [%s] (mii_bus:phy_addr=%s, irq=%d)\n",
ndev->name,
fep->phy_dev->drv->name, dev_name(&fep->phy_dev->dev), fep->phy_dev->drv->name, dev_name(&fep->phy_dev->dev),
fep->phy_dev->irq); fep->phy_dev->irq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment