mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
smsc911x: replace print_mac with %pM
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
785b6f977a
commit
63a2ebb079
@ -1910,7 +1910,6 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
|
|||||||
unsigned int intcfg = 0;
|
unsigned int intcfg = 0;
|
||||||
int res_size, irq_flags;
|
int res_size, irq_flags;
|
||||||
int retval;
|
int retval;
|
||||||
DECLARE_MAC_BUF(mac);
|
|
||||||
|
|
||||||
pr_info("%s: Driver version %s.\n", SMSC_CHIPNAME, SMSC_DRV_VERSION);
|
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);
|
spin_unlock_irq(&pdata->mac_lock);
|
||||||
|
|
||||||
dev_info(&dev->dev, "MAC Address: %s\n",
|
dev_info(&dev->dev, "MAC Address: %pM\n", dev->dev_addr);
|
||||||
print_mac(mac, dev->dev_addr));
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user