treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / wireless / realtek / rtlwifi / rtl8821ae / led.h
blob249a37a8d9db43f499de0c7e77c81603a09ce818
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2010 Realtek Corporation.*/
4 #ifndef __RTL8821AE_LED_H__
5 #define __RTL8821AE_LED_H__
7 void rtl8821ae_init_sw_leds(struct ieee80211_hw *hw);
8 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
10 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
11 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
12 void rtl8821ae_led_control(struct ieee80211_hw *hw,
13 enum led_ctl_mode ledaction);
15 #endif