staging: r8188eu: clean up coding style issues
authorMichael Straube <straube.linux@gmail.com>
Wed, 29 Dec 2021 20:50:43 +0000 (21:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Dec 2021 11:02:25 +0000 (12:02 +0100)
Clean up coding style issues in odm_ConfigRFReg_8188E() reported by
checkpatch.

WARNING: please, no spaces at the start of a line
WARNING: suspect code indent for conditional statements (4, 16)

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211229205108.26373-8-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_RegConfig8188E.c

index b5b6146..3c591bf 100644 (file)
@@ -7,7 +7,7 @@ void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
                           u32 Data, enum rf_radio_path RF_PATH,
                           u32 RegAddr)
 {
-    if (Addr == 0xffe) {
+       if (Addr == 0xffe) {
                ODM_sleep_ms(50);
        } else if (Addr == 0xfd) {
                ODM_delay_ms(5);