mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
staging: rtl8723bs: use %pM format for MAC addresses
Use %pM format instead of custom printing code. Signed-off-by: Ross Schmidt <ross.schm.dev@gmail.com> Link: https://lore.kernel.org/r/20201105034754.12383-2-ross.schm.dev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bbda3ac4f2
commit
5d4ea6b452
@@ -1231,19 +1231,8 @@ static void Hal_EfuseParseMACAddr_8723BS(
|
||||
}
|
||||
/* NicIFSetMacAddress(padapter, padapter->PermanentAddress); */
|
||||
|
||||
RT_TRACE(
|
||||
_module_hci_hal_init_c_,
|
||||
_drv_notice_,
|
||||
(
|
||||
"Hal_EfuseParseMACAddr_8723BS: Permanent Address = %02x-%02x-%02x-%02x-%02x-%02x\n",
|
||||
pEEPROM->mac_addr[0],
|
||||
pEEPROM->mac_addr[1],
|
||||
pEEPROM->mac_addr[2],
|
||||
pEEPROM->mac_addr[3],
|
||||
pEEPROM->mac_addr[4],
|
||||
pEEPROM->mac_addr[5]
|
||||
)
|
||||
);
|
||||
RT_TRACE(_module_hci_hal_init_c_, _drv_notice_,
|
||||
("Hal_EfuseParseMACAddr_8723BS: Permanent Address = %pM\n", pEEPROM->mac_addr));
|
||||
}
|
||||
|
||||
static void Hal_EfuseParseBoardType_8723BS(
|
||||
|
||||
Reference in New Issue
Block a user