From 8b639410d188a979783cc57f9a4fedbcd362bf10 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Tue, 4 Oct 2016 20:30:34 +0200 Subject: lantiq: cleanup led handling functions Use a more generic name for the lantiq_get_dt_led_chosen function. Drop the lantiq_is_dt_led_chosen function. The lantiq_get_dt_led function can be used to achieve the same. Signed-off-by: Mathias Kresin --- target/linux/lantiq/base-files/etc/diag.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/base-files/etc/diag.sh') diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh index f6363b34ac..70ed25cb80 100644 --- a/target/linux/lantiq/base-files/etc/diag.sh +++ b/target/linux/lantiq/base-files/etc/diag.sh @@ -4,9 +4,9 @@ . /lib/functions/leds.sh . /lib/functions/lantiq.sh -boot="$(lantiq_get_dt_led_chosen boot)" -failsafe="$(lantiq_get_dt_led_chosen failsafe)" -running="$(lantiq_get_dt_led_chosen running)" +boot="$(lantiq_get_dt_led boot)" +failsafe="$(lantiq_get_dt_led failsafe)" +running="$(lantiq_get_dt_led running)" set_state() { status_led="$boot" -- cgit v1.2.3