diff options
author | Joe Perches <joe@perches.com> | 2015-06-15 05:01:45 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-22 19:22:29 +0300 |
commit | dd70b27eecdd4e13378a5e253dbd426058e164ef (patch) | |
tree | 8cb7a31c9e7d81a69b3a046ce774cad711698534 /drivers/media/pci | |
parent | 1140f919f807b6d5a259ecfca88022da0e5340cb (diff) | |
download | linux-dd70b27eecdd4e13378a5e253dbd426058e164ef.tar.xz |
[media] media: ttpci: Use vsprintf %pM extension
Format mac addresses with the normal kernel extension.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/ttpci/ttpci-eeprom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/pci/ttpci/ttpci-eeprom.c b/drivers/media/pci/ttpci/ttpci-eeprom.c index 32d43156c548..c6f31f2712bc 100644 --- a/drivers/media/pci/ttpci/ttpci-eeprom.c +++ b/drivers/media/pci/ttpci/ttpci-eeprom.c @@ -162,9 +162,7 @@ int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *proposed_mac) } memcpy(proposed_mac, decodedMAC, 6); - dprintk("adapter has MAC addr = %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n", - decodedMAC[0], decodedMAC[1], decodedMAC[2], - decodedMAC[3], decodedMAC[4], decodedMAC[5]); + dprintk("adapter has MAC addr = %pM\n", decodedMAC); return 0; } |