[media] media: dvb-usb: print mac address via native %pM
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 6 Jul 2012 14:31:51 +0000 (11:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 21:49:19 +0000 (18:49 -0300)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/az6007.c

index 4008b9c50fbdfa3a9b61853d2a1a7bf86be90ae6..8ffcad000ad3fb146eb7a1e5292dc902a4745a28 100644 (file)
@@ -593,9 +593,7 @@ static int az6007_read_mac_addr(struct dvb_usb_device *d, u8 mac[6])
        memcpy(mac, st->data, sizeof(mac));
 
        if (ret > 0)
-               deb_info("%s: mac is %02x:%02x:%02x:%02x:%02x:%02x\n",
-                        __func__, mac[0], mac[1], mac[2],
-                        mac[3], mac[4], mac[5]);
+               deb_info("%s: mac is %pM\n", __func__, mac);
 
        return ret;
 }