staging: r8188eu: rename rtl8188eu_DeInitSwLeds to rtw_hal_sw_led_deinit
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:32:16 +0000 (22:32 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:23:23 +0000 (11:23 +0200)
And remove two one-line wrappers.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/hal_intf.h
drivers/staging/rtl8188eu/include/rtl8188e_led.h

index 805f3ad20d4a2509050dabd887e749ce136adb3f..f03da1c375d69a3b9bd734b0cd83fb4d94d1cb85 100644 (file)
@@ -43,12 +43,6 @@ void rtw_hal_sw_led_init(struct adapter *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)
 {
        if (adapt->HalFunc.hal_power_on)
index d9e677ef8f84e58f962340284ce50e5b301db2e0..694ce59731e96a9986dad230e2e729de51602217 100644 (file)
@@ -80,7 +80,7 @@ void rtl8188eu_InitSwLeds(struct adapter *padapter)
 
 /*     Description: */
 /*             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);
 
index bbc385e2af8614b2c1594b07554d612a4845cf12..a4c6f06cc0bcf37e11ad094dd8821cafed9b90d1 100644 (file)
@@ -2073,7 +2073,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
        halfunc->init_recv_priv = &rtl8188eu_init_recv_priv;
        halfunc->free_recv_priv = &rtl8188eu_free_recv_priv;
        halfunc->InitSwLeds = &rtl8188eu_InitSwLeds;
-       halfunc->DeInitSwLeds = &rtl8188eu_DeInitSwLeds;
 
        rtl8188e_set_hal_ops(halfunc);
 }
index 58b4ee386123cc1ae3c05ecd88fdf8e7709b873f..cc8fadd9ed4ec572cc10064c5b8c18805619f341 100644 (file)
@@ -155,7 +155,6 @@ struct hal_ops {
        void    (*free_recv_priv)(struct adapter *padapter);
 
        void    (*InitSwLeds)(struct adapter *padapter);
-       void    (*DeInitSwLeds)(struct adapter *padapter);
 
        void    (*dm_init)(struct adapter *padapter);
        void    (*read_chip_version)(struct adapter *padapter);
index fca6d8c81e907a4f04988cd4eaf90cd6cfddaced..ca71a0f6f888b1ef2ad2ea8306f5ae0402a4ac91 100644 (file)
@@ -23,7 +23,6 @@
 /*  Interface to manipulate LED objects. */
 /*  */
 void rtl8188eu_InitSwLeds(struct adapter *padapter);
-void rtl8188eu_DeInitSwLeds(struct adapter *padapter);
 void SwLedOn(struct adapter *padapter, struct LED_871x *pLed);
 void SwLedOff(struct adapter *padapter, struct LED_871x *pLed);