]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: rtl8188eu: add spaces around '+' in fw.c
authorMichael Straube <straube.linux@gmail.com>
Sun, 30 Sep 2018 19:53:07 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:20:41 +0000 (15:20 -0700)
Add spaces around '+' in fw.c to follow kernel coding style.
Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/fw.c

index 1b8341f409955f2cdb4fad988ebe57c291d9c3ff..486ee4bd474468637e62fef3b457eecd23e8a769 100644 (file)
@@ -98,9 +98,9 @@ static void rtl88e_firmware_selfreset(struct adapter *adapt)
 {
        u8 u1b_tmp;
 
-       u1b_tmp = usb_read8(adapt, REG_SYS_FUNC_EN+1);
-       usb_write8(adapt, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2))));
-       usb_write8(adapt, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2)));
+       u1b_tmp = usb_read8(adapt, REG_SYS_FUNC_EN + 1);
+       usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2))));
+       usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp | BIT(2)));
 }
 
 static int _rtl88e_fw_free_to_go(struct adapter *adapt)