Commit d435335f authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: rename rtl8188eu_DeInitSwLeds to rtw_hal_sw_led_deinit

And remove two one-line wrappers.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2d91255a
...@@ -43,12 +43,6 @@ void rtw_hal_sw_led_init(struct adapter *adapt) ...@@ -43,12 +43,6 @@ void rtw_hal_sw_led_init(struct adapter *adapt)
adapt->HalFunc.InitSwLeds(adapt); adapt->HalFunc.InitSwLeds(adapt);
} }
void rtw_hal_sw_led_deinit(struct adapter *adapt)
{
if (adapt->HalFunc.DeInitSwLeds)
adapt->HalFunc.DeInitSwLeds(adapt);
}
u32 rtw_hal_power_on(struct adapter *adapt) u32 rtw_hal_power_on(struct adapter *adapt)
{ {
if (adapt->HalFunc.hal_power_on) if (adapt->HalFunc.hal_power_on)
......
...@@ -80,7 +80,7 @@ void rtl8188eu_InitSwLeds(struct adapter *padapter) ...@@ -80,7 +80,7 @@ void rtl8188eu_InitSwLeds(struct adapter *padapter)
/* Description: */ /* Description: */
/* DeInitialize all LED_819xUsb objects. */ /* DeInitialize all LED_819xUsb objects. */
void rtl8188eu_DeInitSwLeds(struct adapter *padapter) void rtw_hal_sw_led_deinit(struct adapter *padapter)
{ {
struct led_priv *ledpriv = &(padapter->ledpriv); struct led_priv *ledpriv = &(padapter->ledpriv);
......
...@@ -2073,7 +2073,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt) ...@@ -2073,7 +2073,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
halfunc->init_recv_priv = &rtl8188eu_init_recv_priv; halfunc->init_recv_priv = &rtl8188eu_init_recv_priv;
halfunc->free_recv_priv = &rtl8188eu_free_recv_priv; halfunc->free_recv_priv = &rtl8188eu_free_recv_priv;
halfunc->InitSwLeds = &rtl8188eu_InitSwLeds; halfunc->InitSwLeds = &rtl8188eu_InitSwLeds;
halfunc->DeInitSwLeds = &rtl8188eu_DeInitSwLeds;
rtl8188e_set_hal_ops(halfunc); rtl8188e_set_hal_ops(halfunc);
} }
...@@ -155,7 +155,6 @@ struct hal_ops { ...@@ -155,7 +155,6 @@ struct hal_ops {
void (*free_recv_priv)(struct adapter *padapter); void (*free_recv_priv)(struct adapter *padapter);
void (*InitSwLeds)(struct adapter *padapter); void (*InitSwLeds)(struct adapter *padapter);
void (*DeInitSwLeds)(struct adapter *padapter);
void (*dm_init)(struct adapter *padapter); void (*dm_init)(struct adapter *padapter);
void (*read_chip_version)(struct adapter *padapter); void (*read_chip_version)(struct adapter *padapter);
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
/* Interface to manipulate LED objects. */ /* Interface to manipulate LED objects. */
/* */ /* */
void rtl8188eu_InitSwLeds(struct adapter *padapter); void rtl8188eu_InitSwLeds(struct adapter *padapter);
void rtl8188eu_DeInitSwLeds(struct adapter *padapter);
void SwLedOn(struct adapter *padapter, struct LED_871x *pLed); void SwLedOn(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);
......
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