atm: he: print MAC via %pM
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Sep 2013 12:17:56 +0000 (15:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 18:41:55 +0000 (14:41 -0400)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c

index 507362a76a736b624aab235bf614b2830d677239..449f6298dc8937a437ec1f7c4ab6283db3289c40 100644 (file)
@@ -1088,15 +1088,8 @@ static int he_start(struct atm_dev *dev)
        for (i = 0; i < 6; ++i)
                dev->esi[i] = read_prom_byte(he_dev, MAC_ADDR + i);
 
-       hprintk("%s%s, %x:%x:%x:%x:%x:%x\n",
-                               he_dev->prod_id,
-                                       he_dev->media & 0x40 ? "SM" : "MM",
-                                               dev->esi[0],
-                                               dev->esi[1],
-                                               dev->esi[2],
-                                               dev->esi[3],
-                                               dev->esi[4],
-                                               dev->esi[5]);
+       hprintk("%s%s, %pM\n", he_dev->prod_id,
+               he_dev->media & 0x40 ? "SM" : "MM", dev->esi);
        he_dev->atm_dev->link_rate = he_is622(he_dev) ?
                                                ATM_OC12_PCR : ATM_OC3_PCR;