[PATCH] led: use correct name for /sys/devices/virtual/leds/ entries

From: olaf
Date: Wed Jul 18 2012 - 12:49:14 EST

From: Olaf Hering <olaf@xxxxxxxxx>

Follow naming according to Documentation/leds/leds-class.txt:
LED Device Naming
Is currently of the form:

Reported during openSuSE 11.1 testing.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff --git a/drivers/leds/ledtrig-default-on.c b/drivers/leds/ledtrig-default-on.c
index a4ef54b..2efdd30 100644
--- a/drivers/leds/ledtrig-default-on.c
+++ b/drivers/leds/ledtrig-default-on.c
@@ -23,7 +23,7 @@ static void defon_trig_activate(struct led_classdev *led_cdev)

static struct led_trigger defon_led_trigger = {
- .name = "default-on",
+ .name = "default::on",
.activate = defon_trig_activate,


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/