drivers/atm/idt77252.c: use %pM to show MAC address
authorhartleys <hartleys@visionengravers.com>
Tue, 5 Jan 2010 06:24:23 +0000 (06:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2010 09:13:56 +0000 (01:13 -0800)
Use the %pM kernel extension to display the MAC address.

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

index e33ae0025b1214c45e0380e495d7e135dc4a59a5..01f36c08cb52cb7ac5a91d3c844c4feb3cc6114d 100644 (file)
@@ -3557,10 +3557,7 @@ init_card(struct atm_dev *dev)
        if (tmp) {
                memcpy(card->atmdev->esi, tmp->dev_addr, 6);
 
-               printk("%s: ESI %02x:%02x:%02x:%02x:%02x:%02x\n",
-                      card->name, card->atmdev->esi[0], card->atmdev->esi[1],
-                      card->atmdev->esi[2], card->atmdev->esi[3],
-                      card->atmdev->esi[4], card->atmdev->esi[5]);
+               printk("%s: ESI %pM\n", card->name, card->atmdev->esi);
        }
        /*
         * XXX: </hack>