diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2010-09-11 19:33:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 11:55:57 +0200 |
commit | 0e44dec17f8b8737f47c9f547b6674b9921612b9 (patch) | |
tree | ab4fa6b7d2832a43e4bf5e6c6e80e8affa491b44 /drivers/media/dvb/mantis/mantis_ioc.c | |
parent | [media] v4l: videobuf: remove unused is_userptr variable (diff) | |
download | linux-0e44dec17f8b8737f47c9f547b6674b9921612b9.tar.xz linux-0e44dec17f8b8737f47c9f547b6674b9921612b9.zip |
[media] dvb: mantis: use '%pM' format to print MAC address
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_ioc.c')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_ioc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ioc.c b/drivers/media/dvb/mantis/mantis_ioc.c index de148ded52d8..fe31cfb0b158 100644 --- a/drivers/media/dvb/mantis/mantis_ioc.c +++ b/drivers/media/dvb/mantis/mantis_ioc.c @@ -68,14 +68,7 @@ int mantis_get_mac(struct mantis_pci *mantis) return err; } - dprintk(MANTIS_ERROR, 0, - " MAC Address=[%02x:%02x:%02x:%02x:%02x:%02x]\n", - mac_addr[0], - mac_addr[1], - mac_addr[2], - mac_addr[3], - mac_addr[4], - mac_addr[5]); + dprintk(MANTIS_ERROR, 0, " MAC Address=[%pM]\n", mac_addr); return 0; } |