summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@bisect.de>2012-02-24 14:46:01 +0100
committerDavid S. Miller <davem@davemloft.net>2012-02-24 15:41:31 -0500
commit3274ce71fede837176e59b1579ac9679dc990117 (patch)
treea2fc3d367b07fc82b536f6edbcabd04fc25107a6
parentff40a675bba27c990c7b32c2fcc50d3db758b226 (diff)
downloadblackbird-op-linux-3274ce71fede837176e59b1579ac9679dc990117.tar.gz
blackbird-op-linux-3274ce71fede837176e59b1579ac9679dc990117.zip
Staging: ft1000-pcmcia: print MAC via printk format specifier
Print MAC/dev_addr via printk extended format specifier %pM instead of custom code. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
-rw-r--r--drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index 917bbb082a6e..7569aa0f24d1 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@ -2211,11 +2211,8 @@ struct net_device *init_ft1000_card(struct pcmcia_device *link,
ft1000InitProc(dev);
ft1000_card_present = 1;
SET_ETHTOOL_OPS(dev, &ops);
- printk(KERN_INFO
- "ft1000: %s: addr 0x%04lx irq %d, MAC addr %02x:%02x:%02x:%02x:%02x:%02x\n",
- dev->name, dev->base_addr, dev->irq, dev->dev_addr[0],
- dev->dev_addr[1], dev->dev_addr[2], dev->dev_addr[3],
- dev->dev_addr[4], dev->dev_addr[5]);
+ printk(KERN_INFO "ft1000: %s: addr 0x%04lx irq %d, MAC addr %pM\n",
+ dev->name, dev->base_addr, dev->irq, dev->dev_addr);
return dev;
err_unreg:
OpenPOWER on IntegriCloud