Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
}