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

staging: rtl8188eu: rename SwLedOff to avoid CamelCase

Rename the function SwLedOff to avoid CamelCase.
SwLedOff -> sw_led_off
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01b3ce53
...@@ -98,13 +98,13 @@ static void SwLedBlink1(struct LED_871x *pLed) ...@@ -98,13 +98,13 @@ static void SwLedBlink1(struct LED_871x *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 {
SwLedOff(padapter, pLed); sw_led_off(padapter, pLed);
RT_TRACE(_module_rtl8712_led_c_, _drv_info_, RT_TRACE(_module_rtl8712_led_c_, _drv_info_,
("Blinktimes (%d): turn off\n", pLed->BlinkTimes)); ("Blinktimes (%d): turn off\n", pLed->BlinkTimes));
} }
if (padapter->pwrctrlpriv.rf_pwrstate != rf_on) { if (padapter->pwrctrlpriv.rf_pwrstate != rf_on) {
SwLedOff(padapter, pLed); sw_led_off(padapter, pLed);
ResetLedStatus(pLed); ResetLedStatus(pLed);
return; return;
} }
...@@ -445,7 +445,7 @@ static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAct ...@@ -445,7 +445,7 @@ static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAct
del_timer_sync(&pLed->BlinkTimer); del_timer_sync(&pLed->BlinkTimer);
pLed->bLedScanBlinkInProgress = false; pLed->bLedScanBlinkInProgress = false;
} }
SwLedOff(padapter, pLed); sw_led_off(padapter, pLed);
break; break;
default: default:
break; break;
......
...@@ -21,7 +21,7 @@ void sw_led_on(struct adapter *padapter, struct LED_871x *pLed) ...@@ -21,7 +21,7 @@ void sw_led_on(struct adapter *padapter, struct LED_871x *pLed)
pLed->bLedOn = true; pLed->bLedOn = true;
} }
void SwLedOff(struct adapter *padapter, struct LED_871x *pLed) void sw_led_off(struct adapter *padapter, struct LED_871x *pLed)
{ {
u8 led_cfg; u8 led_cfg;
......
...@@ -95,6 +95,6 @@ void DeInitLed871x(struct LED_871x *pLed); ...@@ -95,6 +95,6 @@ void DeInitLed871x(struct LED_871x *pLed);
/* hal... */ /* hal... */
void BlinkHandler(struct LED_871x *pLed); void BlinkHandler(struct LED_871x *pLed);
void sw_led_on(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 sw_led_off(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