summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu/hal/rtl8188eu_led.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2021-12-26 20:55:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-28 17:12:34 +0100
commit2232e50bd1170279e8debdcc3252336fda868873 (patch)
treea4123982c0f92a317d6700fd16396a3cdd18063e /drivers/staging/r8188eu/hal/rtl8188eu_led.c
parentb3505203320d6e74a3c83e39c63ef64b6fcd82ac (diff)
staging: r8188eu: move (de)init functions from hal to rtw_led
Move the led init and deinit functions from the hal layer to rtw_led.c. rtl8188eu_led.c and rtl8188e_led.h can now be removed. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211226195556.159471-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal/rtl8188eu_led.c')
-rw-r--r--drivers/staging/r8188eu/hal/rtl8188eu_led.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188eu_led.c b/drivers/staging/r8188eu/hal/rtl8188eu_led.c
deleted file mode 100644
index 46dd8c6703b7..000000000000
--- a/drivers/staging/r8188eu/hal/rtl8188eu_led.c
+++ /dev/null
@@ -1,30 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/* Copyright(c) 2007 - 2011 Realtek Corporation. */
-
-#include "../include/osdep_service.h"
-#include "../include/drv_types.h"
-#include "../include/rtl8188e_hal.h"
-#include "../include/rtl8188e_led.h"
-
-/* Interface to manipulate LED objects. */
-/* Default LED behavior. */
-
-/* Description: */
-/* Initialize all LED_871x objects. */
-void rtl8188eu_InitSwLeds(struct adapter *padapter)
-{
- struct led_priv *pledpriv = &padapter->ledpriv;
-
- pledpriv->LedControlHandler = LedControl8188eu;
-
- InitLed871x(padapter, &pledpriv->SwLed0);
-}
-
-/* Description: */
-/* DeInitialize all LED_819xUsb objects. */
-void rtl8188eu_DeInitSwLeds(struct adapter *padapter)
-{
- struct led_priv *ledpriv = &padapter->ledpriv;
-
- DeInitLed871x(&ledpriv->SwLed0);
-}