diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-06-14 09:18:31 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-06-21 21:31:10 +0300 |
commit | 084f1f552f8dd8e8b993d14a30720b7484d77020 (patch) | |
tree | 5ecb96c9d57bee1a6d0f457d59035051548a8b89 /drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | |
parent | d8aa21235d0342e6d0cc99f37d0771749e742e5a (diff) | |
download | linux-084f1f552f8dd8e8b993d14a30720b7484d77020.tar.xz |
wifi: rtlwifi: simplify LED management
Introduce 'rtl_init_sw_leds()' to replace per-chip LED
initialization code (and so drop 'struct rtl_led' as no
longer used), drop 'init_sw_leds' and 'deinit_sw_leds'
fields from 'struct rtl_hal_ops', adjust related code.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230614061832.40882-1-dmantipov@yandex.ru
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c index ed68c850f9a2..e452275d8789 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c @@ -207,7 +207,6 @@ static struct rtl_hal_ops rtl8192ce_hal_ops = { .tx_polling = rtl92ce_tx_polling, .enable_hw_sec = rtl92ce_enable_hw_security_config, .set_key = rtl92ce_set_key, - .init_sw_leds = rtl92ce_init_sw_leds, .get_bbreg = rtl92c_phy_query_bb_reg, .set_bbreg = rtl92c_phy_set_bb_reg, .set_rfreg = rtl92ce_phy_set_rf_reg, |