V4L/DVB: media: cx23885: use '%pM' format to print MAC address
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Sat, 11 Sep 2010 17:33:28 +0000 (14:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:11 +0000 (01:06 -0200)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-dvb.c

index 3d70af283881e5203f4b7247ce3f373d16f0d840..0674ea1bf863d3d0e9225af192f2a0fa46f27440 100644 (file)
@@ -1017,10 +1017,7 @@ static int dvb_register(struct cx23885_tsport *port)
                /* Read entire EEPROM */
                dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1;
                tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, sizeof(eeprom));
-               printk(KERN_INFO "TeVii S470 MAC= "
-                               "%02X:%02X:%02X:%02X:%02X:%02X\n",
-                               eeprom[0xa0], eeprom[0xa1], eeprom[0xa2],
-                               eeprom[0xa3], eeprom[0xa4], eeprom[0xa5]);
+               printk(KERN_INFO "TeVii S470 MAC= %pM\n", eeprom + 0xa0);
                memcpy(port->frontends.adapter.proposed_mac, eeprom + 0xa0, 6);
                break;
                }