]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 a2e7789aecbd69288e2a5488f4e8e1e2011708e3..c3cd3abf9cc730411bedcd2b3f39701d65e530fe 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 7e3f04bfd3f01b3369f715414fe48991a6c04233..98f3ebf4494433ae2abffb86a910a4c0ff075dfb 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 e50237ab05c458c7d093c9d3a3f3fd4be442c325..a3921596a577655a5f86cad94f096438012d355b 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_ */