From 5662f5b1142142f449a319b17c5a8c0f3f07cccb Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Wed, 17 Feb 2021 20:52:12 +0100 Subject: lantiq: vr9: set the usb led trigger via devicetree Assign the usbdev trigger via devicetree and drop the userspace handling of the usb leds. Drop the now unused userspace helper code as well. Signed-off-by: Mathias Kresin Acked-by: Adrian Schmutzler --- target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds | 6 ------ 1 file changed, 6 deletions(-) (limited to 'target/linux/lantiq/xrx200') diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds index 6a19f52a1e..6fd8151a4f 100755 --- a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds +++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds @@ -11,12 +11,6 @@ board_config_update led_wifi="$(get_dt_led wifi)" [ -n "$led_wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "$led_wifi" "phy0tpt" -led_usb="$(get_dt_led usb)" -[ -n "$led_usb" ] && ucidef_set_led_usbdev "usb" "usb" "$led_usb" "1-1" - -led_usb2="$(get_dt_led usb2)" -[ -n "$led_usb2" ] && ucidef_set_led_usbdev "usb2" "usb2" "$led_usb2" "2-1" - led_dsl="$(get_dt_led dsl)" [ -n "$led_dsl" ] && { led_internet="$(get_dt_led internet)" -- cgit v1.2.3