aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-11-02 21:08:50 +0100
committerMathias Kresin <dev@kresin.me>2017-11-03 20:04:52 +0100
commitf9311e40705e303d7cc79e5c296b5de233abb8cb (patch)
treef01a3b270de4856f47353ce05791dc4cb63aa8e7 /target/linux
parent67da6a7c5e45baa1cd9ce4ebbf22d4797274b368 (diff)
downloadupstream-f9311e40705e303d7cc79e5c296b5de233abb8cb.tar.gz
upstream-f9311e40705e303d7cc79e5c296b5de233abb8cb.tar.bz2
upstream-f9311e40705e303d7cc79e5c296b5de233abb8cb.zip
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 since 192f0a3db859. The wireless led led trigger is added in userspace since e20965811db6, which makes the ap9x_pci_setup_wmac_led_pin() superfluous. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
index ec3f1ff845..a9ed3fdd46 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
@@ -192,9 +192,6 @@ static void __init wzrhpag300h_setup(void)
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,
ARRAY_SIZE(wzrhpag300h_wmac0_leds_gpio));
ap9x_pci_setup_wmac_leds(1, wzrhpag300h_wmac1_leds_gpio,