aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-17 16:41:17 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 11:34:18 +0200
commit772b27c207364f31f8b34b80a94647810fdb581c (patch)
tree59c1177da22fbf0d94729d8f53db7e8f46eb3ab5 /target/linux/ramips/base-files
parent04eab0a1c9fb68bd8678c57ca3c6dcc8347b611a (diff)
downloadupstream-772b27c207364f31f8b34b80a94647810fdb581c.tar.gz
upstream-772b27c207364f31f8b34b80a94647810fdb581c.tar.bz2
upstream-772b27c207364f31f8b34b80a94647810fdb581c.zip
ramips: set F5D8235 v1 usb led trigger via devicetree
Assign the usbdev trigger via devicetree and drop the userspace handling of the usb leds. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 4935d14537..e45508ee2b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -2,10 +2,6 @@
. /lib/functions/uci-defaults.sh
-set_usb_led() {
- ucidef_set_led_usbdev "usb" "USB" "${1}" "${2:-1-1}"
-}
-
set_wifi_led() {
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
@@ -144,7 +140,6 @@ ex3700)
;;
f5d8235-v1)
ucidef_set_led_default "lan" "lan" "$boardname:blue:wired" "0"
- set_usb_led "$boardname:blue:storage"
set_wifi_led "$boardname:blue:wireless"
;;
fonera20n)