Commit dd70b27e authored by Joe Perches's avatar Joe Perches Committed by Mauro Carvalho Chehab

[media] media: ttpci: Use vsprintf %pM extension

Format mac addresses with the normal kernel extension.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 1140f919
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment