staging: rtl8188eu: rename SwLedOn to avoid CamelCase
authorMichael Straube <straube.linux@gmail.com>
Wed, 21 Nov 2018 19:49:32 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Nov 2018 10:14:58 +0000 (11:14 +0100)
Rename the function SwLedOn to avoid CamelCase.
SwLedOn -> sw_led_on

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

index a2e7789..c3cd3ab 100644 (file)
@@ -94,7 +94,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
 
        /*  Change LED according to BlinkingLedState specified. */
        if (pLed->BlinkingLedState == RTW_LED_ON) {
-               SwLedOn(padapter, pLed);
+               sw_led_on(padapter, pLed);
                RT_TRACE(_module_rtl8712_led_c_, _drv_info_,
                         ("Blinktimes (%d): turn on\n", pLed->BlinkTimes));
        } else {
index 7e3f04b..98f3ebf 100644 (file)
@@ -10,7 +10,7 @@
 #include <rtl8188e_hal.h>
 #include <usb_ops_linux.h>
 
-void SwLedOn(struct adapter *padapter, struct LED_871x *pLed)
+void sw_led_on(struct adapter *padapter, struct LED_871x *pLed)
 {
        u8 led_cfg;
 
index e50237a..a392159 100644 (file)
@@ -94,7 +94,7 @@ void DeInitLed871x(struct LED_871x *pLed);
 
 /* hal... */
 void BlinkHandler(struct LED_871x *pLed);
-void SwLedOn(struct adapter *padapter, struct LED_871x *pLed);
+void sw_led_on(struct adapter *padapter, struct LED_871x *pLed);
 void SwLedOff(struct adapter *padapter, struct LED_871x *pLed);
 
 #endif /* __RTW_LED_H_ */