aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-27 18:59:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-27 20:06:18 -0400
commite174961ca1a0b28f7abf0be47973ad57cb74e5f0 (patch)
treee8f74ecd420a0e380a71670e5aec5c2a0c15640a /drivers/net/smc91x.c
parent0c68ae2605dbcf67414d8d1f19af93be44b355fb (diff)
net: convert print_mac to %pM
This converts pretty much everything to print_mac. There were a few things that had conflicts which I have just dropped for now, no harm done. I've built an allyesconfig with this and looked at the files that weren't built very carefully, but it's a huge patch. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r--drivers/net/smc91x.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index c70870e0fd61..37ff94bdbc83 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -1778,7 +1778,6 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr,
1778 int retval; 1778 int retval;
1779 unsigned int val, revision_register; 1779 unsigned int val, revision_register;
1780 const char *version_string; 1780 const char *version_string;
1781 DECLARE_MAC_BUF(mac);
1782 1781
1783 DBG(2, "%s: %s\n", CARDNAME, __func__); 1782 DBG(2, "%s: %s\n", CARDNAME, __func__);
1784 1783
@@ -1972,8 +1971,8 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr,
1972 "set using ifconfig\n", dev->name); 1971 "set using ifconfig\n", dev->name);
1973 } else { 1972 } else {
1974 /* Print the Ethernet address */ 1973 /* Print the Ethernet address */
1975 printk("%s: Ethernet addr: %s\n", 1974 printk("%s: Ethernet addr: %pM\n",
1976 dev->name, print_mac(mac, dev->dev_addr)); 1975 dev->name, dev->dev_addr);
1977 } 1976 }
1978 1977
1979 if (lp->phy_type == 0) { 1978 if (lp->phy_type == 0) {