aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tsi108_eth.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/tsi108_eth.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/tsi108_eth.c')
-rw-r--r--drivers/net/tsi108_eth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c
index eb1da6f0b086..6924805e765e 100644
--- a/drivers/net/tsi108_eth.c
+++ b/drivers/net/tsi108_eth.c
@@ -1569,7 +1569,6 @@ tsi108_init_one(struct platform_device *pdev)
1569 struct tsi108_prv_data *data = NULL; 1569 struct tsi108_prv_data *data = NULL;
1570 hw_info *einfo; 1570 hw_info *einfo;
1571 int err = 0; 1571 int err = 0;
1572 DECLARE_MAC_BUF(mac);
1573 1572
1574 einfo = pdev->dev.platform_data; 1573 einfo = pdev->dev.platform_data;
1575 1574
@@ -1659,8 +1658,8 @@ tsi108_init_one(struct platform_device *pdev)
1659 } 1658 }
1660 1659
1661 platform_set_drvdata(pdev, dev); 1660 platform_set_drvdata(pdev, dev);
1662 printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %s\n", 1661 printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %pM\n",
1663 dev->name, print_mac(mac, dev->dev_addr)); 1662 dev->name, dev->dev_addr);
1664#ifdef DEBUG 1663#ifdef DEBUG
1665 data->msg_enable = DEBUG; 1664 data->msg_enable = DEBUG;
1666 dump_eth_one(dev); 1665 dump_eth_one(dev);