staging: rtl8188eu: add spaces around '&' in rtl8188eu_led.c
authorMichael Straube <straube.linux@gmail.com>
Wed, 21 Nov 2018 19:49:30 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Nov 2018 10:14:58 +0000 (11:14 +0100)
Add spaces around '&' 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/rtl8188eu_led.c

index 535ada474164441c698e668be5c1ead2257ae8a2..d4495839af34fd04311d02fb08a297b30a9669ef 100644 (file)
@@ -17,7 +17,7 @@ void SwLedOn(struct adapter *padapter, struct LED_871x *pLed)
        if (padapter->bSurpriseRemoved || padapter->bDriverStopped)
                return;
        LedCfg = usb_read8(padapter, REG_LEDCFG2);
-       usb_write8(padapter, REG_LEDCFG2, (LedCfg&0xf0) | BIT(5) | BIT(6));
+       usb_write8(padapter, REG_LEDCFG2, (LedCfg & 0xf0) | BIT(5) | BIT(6));
        pLed->bLedOn = true;
 }