mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
ar71xx: wzr-hp-ag300h: drop unused wmac led_pin settings
The GPIOs are used for defined LEDs and therefore are ignored/unset in the ath9k driver since192f0a3db8
. The wireless led led trigger is added in userspace sincee20965811d
, which makes the ap9x_pci_setup_wmac_led_pin() superfluous. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
67da6a7c5e
commit
f9311e4070
@ -192,9 +192,6 @@ static void __init wzrhpag300h_setup(void)
|
|||||||
|
|
||||||
ap94_pci_init(eeprom1, mac1, eeprom2, mac2);
|
ap94_pci_init(eeprom1, mac1, eeprom2, mac2);
|
||||||
|
|
||||||
ap9x_pci_setup_wmac_led_pin(0, 1);
|
|
||||||
ap9x_pci_setup_wmac_led_pin(1, 5);
|
|
||||||
|
|
||||||
ap9x_pci_setup_wmac_leds(0, wzrhpag300h_wmac0_leds_gpio,
|
ap9x_pci_setup_wmac_leds(0, wzrhpag300h_wmac0_leds_gpio,
|
||||||
ARRAY_SIZE(wzrhpag300h_wmac0_leds_gpio));
|
ARRAY_SIZE(wzrhpag300h_wmac0_leds_gpio));
|
||||||
ap9x_pci_setup_wmac_leds(1, wzrhpag300h_wmac1_leds_gpio,
|
ap9x_pci_setup_wmac_leds(1, wzrhpag300h_wmac1_leds_gpio,
|
||||||
|
Loading…
Reference in New Issue
Block a user