]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/niu.c
net: convert print_mac to %pM
[net-next-2.6.git] / drivers / net / niu.c
index ebc81270290339d09b94c3f6e46a8a921a68b2a4..f927bc06980a4c7e6cd021036d4624f39228c154 100644 (file)
@@ -8638,10 +8638,8 @@ static void __devinit niu_assign_netdev_ops(struct net_device *dev)
 static void __devinit niu_device_announce(struct niu *np)
 {
        struct net_device *dev = np->dev;
-       DECLARE_MAC_BUF(mac);
 
-       pr_info("%s: NIU Ethernet %s\n",
-               dev->name, print_mac(mac, dev->dev_addr));
+       pr_info("%s: NIU Ethernet %pM\n", dev->name, dev->dev_addr);
 
        if (np->parent->plat_type == PLAT_TYPE_ATCA_CP3220) {
                pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n",