Commit 01b3ce53 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: rtl8188eu: rename SwLedOn to avoid CamelCase

Rename the function SwLedOn to avoid CamelCase.
SwLedOn -> sw_led_on
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c739793
...@@ -94,7 +94,7 @@ static void SwLedBlink1(struct LED_871x *pLed) ...@@ -94,7 +94,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
/* Change LED according to BlinkingLedState specified. */ /* Change LED according to BlinkingLedState specified. */
if (pLed->BlinkingLedState == RTW_LED_ON) { if (pLed->BlinkingLedState == RTW_LED_ON) {
SwLedOn(padapter, pLed); sw_led_on(padapter, pLed);
RT_TRACE(_module_rtl8712_led_c_, _drv_info_, RT_TRACE(_module_rtl8712_led_c_, _drv_info_,
("Blinktimes (%d): turn on\n", pLed->BlinkTimes)); ("Blinktimes (%d): turn on\n", pLed->BlinkTimes));
} else { } else {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <rtl8188e_hal.h> #include <rtl8188e_hal.h>
#include <usb_ops_linux.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; u8 led_cfg;
......
...@@ -94,7 +94,7 @@ void DeInitLed871x(struct LED_871x *pLed); ...@@ -94,7 +94,7 @@ void DeInitLed871x(struct LED_871x *pLed);
/* hal... */ /* hal... */
void BlinkHandler(struct LED_871x *pLed); 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); void SwLedOff(struct adapter *padapter, struct LED_871x *pLed);
#endif /* __RTW_LED_H_ */ #endif /* __RTW_LED_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment