[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>
This commit is contained in:
Joe Perches 2015-06-14 23:01:45 -03:00 committed by Mauro Carvalho Chehab
parent 1140f919f8
commit dd70b27eec

View File

@ -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;
}