]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: use %pM format for MAC addresses
authorRoss Schmidt <ross.schm.dev@gmail.com>
Thu, 5 Nov 2020 03:47:47 +0000 (21:47 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 10:05:51 +0000 (11:05 +0100)
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>
drivers/staging/rtl8723bs/hal/sdio_halinit.c

index e42d8c18e1aeba8cca74ca347e90ae555793c5ec..08abfb8ec4c7307ac4127606130f6ada186d4430 100644 (file)
@@ -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(