summaryrefslogtreecommitdiff
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-07-06 14:31:51 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 21:49:19 (GMT)
commit936148a71e5e55a301b274e98b0ad8b246a6f11b (patch)
tree063f50fca927fc1e25caf22d5cd6b906c71fc46b /drivers/media/dvb
parent02a890d6262df653e5efdf47658f2330a6407f3e (diff)
downloadlinux-936148a71e5e55a301b274e98b0ad8b246a6f11b.tar.xz
[media] media: dvb-usb: print mac address via native %pM
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/az6007.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6007.c b/drivers/media/dvb/dvb-usb/az6007.c
index 4008b9c..8ffcad0 100644
--- a/drivers/media/dvb/dvb-usb/az6007.c
+++ b/drivers/media/dvb/dvb-usb/az6007.c
@@ -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;
}