Commit 3d74243d authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Jacek Anaszewski

leds: triggers: don't depend on LEDS_TRIGGERS twice

All the triggers are defined in a big if LEDS_TRIGGERS...endif block.
So there is no need to let each driver depend on LEDS_TRIGGERS explicitly
once more.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 8cb21086
...@@ -10,7 +10,6 @@ if LEDS_TRIGGERS ...@@ -10,7 +10,6 @@ if LEDS_TRIGGERS
config LEDS_TRIGGER_TIMER config LEDS_TRIGGER_TIMER
tristate "LED Timer Trigger" tristate "LED Timer Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by a programmable timer This allows LEDs to be controlled by a programmable timer
via sysfs. Some LED hardware can be programmed to start via sysfs. Some LED hardware can be programmed to start
...@@ -21,7 +20,6 @@ config LEDS_TRIGGER_TIMER ...@@ -21,7 +20,6 @@ config LEDS_TRIGGER_TIMER
config LEDS_TRIGGER_ONESHOT config LEDS_TRIGGER_ONESHOT
tristate "LED One-shot Trigger" tristate "LED One-shot Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to blink in one-shot pulses with parameters This allows LEDs to blink in one-shot pulses with parameters
controlled via sysfs. It's useful to notify the user on controlled via sysfs. It's useful to notify the user on
...@@ -36,7 +34,6 @@ config LEDS_TRIGGER_ONESHOT ...@@ -36,7 +34,6 @@ config LEDS_TRIGGER_ONESHOT
config LEDS_TRIGGER_DISK config LEDS_TRIGGER_DISK
bool "LED Disk Trigger" bool "LED Disk Trigger"
depends on IDE_GD_ATA || ATA depends on IDE_GD_ATA || ATA
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by disk activity. This allows LEDs to be controlled by disk activity.
If unsure, say Y. If unsure, say Y.
...@@ -44,14 +41,12 @@ config LEDS_TRIGGER_DISK ...@@ -44,14 +41,12 @@ config LEDS_TRIGGER_DISK
config LEDS_TRIGGER_MTD config LEDS_TRIGGER_MTD
bool "LED MTD (NAND/NOR) Trigger" bool "LED MTD (NAND/NOR) Trigger"
depends on MTD depends on MTD
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by MTD activity. This allows LEDs to be controlled by MTD activity.
If unsure, say N. If unsure, say N.
config LEDS_TRIGGER_HEARTBEAT config LEDS_TRIGGER_HEARTBEAT
tristate "LED Heartbeat Trigger" tristate "LED Heartbeat Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by a CPU load average. This allows LEDs to be controlled by a CPU load average.
The flash frequency is a hyperbolic function of the 1-minute The flash frequency is a hyperbolic function of the 1-minute
...@@ -60,7 +55,6 @@ config LEDS_TRIGGER_HEARTBEAT ...@@ -60,7 +55,6 @@ config LEDS_TRIGGER_HEARTBEAT
config LEDS_TRIGGER_BACKLIGHT config LEDS_TRIGGER_BACKLIGHT
tristate "LED backlight Trigger" tristate "LED backlight Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled as a backlight device: they This allows LEDs to be controlled as a backlight device: they
turn off and on when the display is blanked and unblanked. turn off and on when the display is blanked and unblanked.
...@@ -69,7 +63,6 @@ config LEDS_TRIGGER_BACKLIGHT ...@@ -69,7 +63,6 @@ config LEDS_TRIGGER_BACKLIGHT
config LEDS_TRIGGER_CPU config LEDS_TRIGGER_CPU
bool "LED CPU Trigger" bool "LED CPU Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by active CPUs. This shows This allows LEDs to be controlled by active CPUs. This shows
the active CPUs across an array of LEDs so you can see which the active CPUs across an array of LEDs so you can see which
...@@ -79,7 +72,6 @@ config LEDS_TRIGGER_CPU ...@@ -79,7 +72,6 @@ config LEDS_TRIGGER_CPU
config LEDS_TRIGGER_ACTIVITY config LEDS_TRIGGER_ACTIVITY
tristate "LED activity Trigger" tristate "LED activity Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled by an immediate CPU usage. This allows LEDs to be controlled by an immediate CPU usage.
The flash frequency and duty cycle varies from faint flashes to The flash frequency and duty cycle varies from faint flashes to
...@@ -88,7 +80,6 @@ config LEDS_TRIGGER_ACTIVITY ...@@ -88,7 +80,6 @@ config LEDS_TRIGGER_ACTIVITY
config LEDS_TRIGGER_GPIO config LEDS_TRIGGER_GPIO
tristate "LED GPIO Trigger" tristate "LED GPIO Trigger"
depends on LEDS_TRIGGERS
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
help help
This allows LEDs to be controlled by gpio events. It's good This allows LEDs to be controlled by gpio events. It's good
...@@ -101,7 +92,6 @@ config LEDS_TRIGGER_GPIO ...@@ -101,7 +92,6 @@ config LEDS_TRIGGER_GPIO
config LEDS_TRIGGER_DEFAULT_ON config LEDS_TRIGGER_DEFAULT_ON
tristate "LED Default ON Trigger" tristate "LED Default ON Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be initialised in the ON state. This allows LEDs to be initialised in the ON state.
If unsure, say Y. If unsure, say Y.
...@@ -111,7 +101,6 @@ comment "iptables trigger is under Netfilter config (LED target)" ...@@ -111,7 +101,6 @@ comment "iptables trigger is under Netfilter config (LED target)"
config LEDS_TRIGGER_TRANSIENT config LEDS_TRIGGER_TRANSIENT
tristate "LED Transient Trigger" tristate "LED Transient Trigger"
depends on LEDS_TRIGGERS
help help
This allows one time activation of a transient state on This allows one time activation of a transient state on
GPIO/PWM based hardware. GPIO/PWM based hardware.
...@@ -119,7 +108,6 @@ config LEDS_TRIGGER_TRANSIENT ...@@ -119,7 +108,6 @@ config LEDS_TRIGGER_TRANSIENT
config LEDS_TRIGGER_CAMERA config LEDS_TRIGGER_CAMERA
tristate "LED Camera Flash/Torch Trigger" tristate "LED Camera Flash/Torch Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be controlled as a camera flash/torch device. This allows LEDs to be controlled as a camera flash/torch device.
This enables direct flash/torch on/off by the driver, kernel space. This enables direct flash/torch on/off by the driver, kernel space.
...@@ -127,7 +115,6 @@ config LEDS_TRIGGER_CAMERA ...@@ -127,7 +115,6 @@ config LEDS_TRIGGER_CAMERA
config LEDS_TRIGGER_PANIC config LEDS_TRIGGER_PANIC
bool "LED Panic Trigger" bool "LED Panic Trigger"
depends on LEDS_TRIGGERS
help help
This allows LEDs to be configured to blink on a kernel panic. This allows LEDs to be configured to blink on a kernel panic.
Enabling this option will allow to mark certain LEDs as panic indicators, Enabling this option will allow to mark certain LEDs as panic indicators,
...@@ -137,7 +124,7 @@ config LEDS_TRIGGER_PANIC ...@@ -137,7 +124,7 @@ config LEDS_TRIGGER_PANIC
config LEDS_TRIGGER_NETDEV config LEDS_TRIGGER_NETDEV
tristate "LED Netdev Trigger" tristate "LED Netdev Trigger"
depends on NET && LEDS_TRIGGERS depends on NET
help help
This allows LEDs to be controlled by network device activity. This allows LEDs to be controlled by network device activity.
If unsure, say Y. If unsure, say Y.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment