diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-03-18 20:24:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-20 02:59:27 -0400 |
commit | 63a2ebb079d72f10ea7b89b85c2cd4ecc60edc61 (patch) | |
tree | 70931aa70db287eb9e9de258046b358184865247 /drivers/net/smsc911x.c | |
parent | 785b6f977a89aaabc3dd3e3bfc87f36015cb8050 (diff) |
smsc911x: replace print_mac with %pM
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r-- | drivers/net/smsc911x.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index 0232292bd170..7df8f6e4f86a 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -1910,7 +1910,6 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev) | |||
1910 | unsigned int intcfg = 0; | 1910 | unsigned int intcfg = 0; |
1911 | int res_size, irq_flags; | 1911 | int res_size, irq_flags; |
1912 | int retval; | 1912 | int retval; |
1913 | DECLARE_MAC_BUF(mac); | ||
1914 | 1913 | ||
1915 | pr_info("%s: Driver version %s.\n", SMSC_CHIPNAME, SMSC_DRV_VERSION); | 1914 | pr_info("%s: Driver version %s.\n", SMSC_CHIPNAME, SMSC_DRV_VERSION); |
1916 | 1915 | ||
@@ -2045,8 +2044,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev) | |||
2045 | 2044 | ||
2046 | spin_unlock_irq(&pdata->mac_lock); | 2045 | spin_unlock_irq(&pdata->mac_lock); |
2047 | 2046 | ||
2048 | dev_info(&dev->dev, "MAC Address: %s\n", | 2047 | dev_info(&dev->dev, "MAC Address: %pM\n", dev->dev_addr); |
2049 | print_mac(mac, dev->dev_addr)); | ||
2050 | 2048 | ||
2051 | return 0; | 2049 | return 0; |
2052 | 2050 | ||