From 1f5ea4eae46e46a87353a751637ccb5d5cd5f60b Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Wed, 22 Mar 2017 21:59:49 +0100 Subject: ar71xx: add correct named default wireless led by using platform leds Instead of renaming the default wireless led attached to the wireless chip, add a new led using the platform leds with the phy0tpt trigger set in userspace. When switching ar71xx to device tree, the same can be done by using the build in GPIO controller and without adding new bindings. Drop the now unused platform code. Signed-off-by: Mathias Kresin --- target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c') diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c index 20bb06e..483aed7 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c @@ -39,18 +39,6 @@ __init void ap9x_pci_setup_wmac_led_pin(unsigned wmac, int pin) } } -__init void ap9x_pci_setup_wmac_led_name(unsigned wmac, const char *led_name) -{ - switch (wmac) { - case 0: - ap9x_wmac0_data.led_name = led_name; - break; - case 1: - ap9x_wmac1_data.led_name = led_name; - break; - } -} - __init struct ath9k_platform_data *ap9x_pci_get_wmac_data(unsigned wmac) { switch (wmac) { -- cgit v1.1