staging: r8188eu: convert final two MSG_88E calls to netdev_dbg
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 6 Nov 2021 23:16:35 +0000 (23:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:02:03 +0000 (10:02 +0100)
Convert final two MSG_88E calls to use netdev_dbg instead. They seem to
contain useful information so rather than delete them outright, it makes
sense to convert them over to use the kernel's dynamic debugging/logging
facility as other network drivers do.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20211106231636.894-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c

index 8c00f2d..c12c3b3 100644 (file)
@@ -1660,7 +1660,7 @@ void rtl8188e_read_chip_version(struct adapter *padapter)
 
        pHalData->rf_type = RF_1T1R;
 
-       MSG_88E("RF_Type is %x!!\n", pHalData->rf_type);
+       netdev_dbg(padapter->pnetdev, "RF_Type is %x!!\n", pHalData->rf_type);
 }
 
 void rtl8188e_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
@@ -1713,7 +1713,8 @@ u8 GetEEPROMSize8188E(struct adapter *padapter)
        /*  6: EEPROM used is 93C46, 4: boot from E-Fuse. */
        size = (cr & BOOT_FROM_EEPROM) ? 6 : 4;
 
-       MSG_88E("EEPROM type is %s\n", size == 4 ? "E-FUSE" : "93C46");
+       netdev_dbg(padapter->pnetdev, "EEPROM type is %s\n",
+                  size == 4 ? "E-FUSE" : "93C46");
 
        return size;
 }