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

staging: rtl8188eu: rename SwLed0 to avoid CamelCase

Rename struct field SwLed0 to avoid CamelCase.
SwLed0 -> sw_led
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 236b3d87
...@@ -240,7 +240,7 @@ static void SwLedBlink1(struct LED_871x *pLed) ...@@ -240,7 +240,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAction) static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAction)
{ {
struct led_priv *ledpriv = &padapter->ledpriv; struct led_priv *ledpriv = &padapter->ledpriv;
struct LED_871x *pLed = &ledpriv->SwLed0; struct LED_871x *pLed = &ledpriv->sw_led;
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
switch (LedAction) { switch (LedAction) {
......
...@@ -44,12 +44,12 @@ void rtw_hal_sw_led_init(struct adapter *padapter) ...@@ -44,12 +44,12 @@ void rtw_hal_sw_led_init(struct adapter *padapter)
{ {
struct led_priv *pledpriv = &padapter->ledpriv; struct led_priv *pledpriv = &padapter->ledpriv;
InitLed871x(padapter, &pledpriv->SwLed0); InitLed871x(padapter, &pledpriv->sw_led);
} }
void rtw_hal_sw_led_deinit(struct adapter *padapter) void rtw_hal_sw_led_deinit(struct adapter *padapter)
{ {
struct led_priv *ledpriv = &padapter->ledpriv; struct led_priv *ledpriv = &padapter->ledpriv;
DeInitLed871x(&ledpriv->SwLed0); DeInitLed871x(&ledpriv->sw_led);
} }
...@@ -79,9 +79,7 @@ struct LED_871x { ...@@ -79,9 +79,7 @@ struct LED_871x {
void led_control_8188eu(struct adapter *padapter, enum LED_CTL_MODE LedAction); void led_control_8188eu(struct adapter *padapter, enum LED_CTL_MODE LedAction);
struct led_priv { struct led_priv {
/* add for led control */ struct LED_871x sw_led;
struct LED_871x SwLed0;
/* add for led control */
}; };
void BlinkWorkItemCallback(struct work_struct *work); void BlinkWorkItemCallback(struct work_struct *work);
......
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