summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal
diff options
context:
space:
mode:
authorMichael Straube2018-11-21 20:49:30 +0100
committerGreg Kroah-Hartman2018-11-22 11:14:58 +0100
commitcfe0610fd73d1afd6082fec6be79ee7de305cc3a (patch)
tree6784c3b7c6ea722e24764de89e55a7dc572f3b1d /drivers/staging/rtl8188eu/hal
parentstaging: rtl8188eu: cleanup comments in rtl8188eu_led.c (diff)
downloadkernel-qcow2-linux-cfe0610fd73d1afd6082fec6be79ee7de305cc3a.tar.gz
kernel-qcow2-linux-cfe0610fd73d1afd6082fec6be79ee7de305cc3a.tar.xz
kernel-qcow2-linux-cfe0610fd73d1afd6082fec6be79ee7de305cc3a.zip
staging: rtl8188eu: add spaces around '&' in rtl8188eu_led.c
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>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal')
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188eu_led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
index 535ada474164..d4495839af34 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
@@ -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;
}