smsc911x: replace print_mac with %pM
authorSteve Glendinning <steve.glendinning@smsc.com>
Thu, 19 Mar 2009 00:24:45 +0000 (00:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 06:59:27 +0000 (23:59 -0700)
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c

index 0232292bd170e2e78299e19feed76f4ad8661829..7df8f6e4f86ad225527c35777948b5a8313edfd1 100644 (file)
@@ -1910,7 +1910,6 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
        unsigned int intcfg = 0;
        int res_size, irq_flags;
        int retval;
-       DECLARE_MAC_BUF(mac);
 
        pr_info("%s: Driver version %s.\n", SMSC_CHIPNAME, SMSC_DRV_VERSION);
 
@@ -2045,8 +2044,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
 
        spin_unlock_irq(&pdata->mac_lock);
 
-       dev_info(&dev->dev, "MAC Address: %s\n",
-                print_mac(mac, dev->dev_addr));
+       dev_info(&dev->dev, "MAC Address: %pM\n", dev->dev_addr);
 
        return 0;