drivers/net/usb/catc.c: use %pM to shown MAC address
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Dec 2009 04:06:45 +0000 (20:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Dec 2009 04:06:45 +0000 (20:06 -0800)
Use the %pM kernel extension to display the MAC address.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/catc.c

index 22b87e64a810ccaa7c55fff97fd9ad3ae9be378a..7d3fa06980c1240320495a05f16908588cd7b1ca 100644 (file)
@@ -897,11 +897,9 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id
                f5u011_rxmode(catc, catc->rxmode);
        }
        dbg("Init done.");
-       printk(KERN_INFO "%s: %s USB Ethernet at usb-%s-%s, ",
+       printk(KERN_INFO "%s: %s USB Ethernet at usb-%s-%s, %pM.\n",
               netdev->name, (catc->is_f5u011) ? "Belkin F5U011" : "CATC EL1210A NetMate",
-              usbdev->bus->bus_name, usbdev->devpath);
-       for (i = 0; i < 5; i++) printk("%2.2x:", netdev->dev_addr[i]);
-       printk("%2.2x.\n", netdev->dev_addr[i]);
+              usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr);
        usb_set_intfdata(intf, catc);
 
        SET_NETDEV_DEV(netdev, &intf->dev);