lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1342630156-16432-1-git-send-email-olaf@aepfle.de>
Date:	Wed, 18 Jul 2012 18:49:16 +0200
From:	olaf@...fle.de
To:	Bryan Wu <bryan.wu@...onical.com>,
	Richard Purdie <rpurdie@...ys.net>
Cc:	linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
	Olaf Hering <olaf@...fle.de>
Subject: [PATCH] led: use correct name for /sys/devices/virtual/leds/ entries

From: Olaf Hering <olaf@...fle.de>

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

Reported during openSuSE 11.1 testing.
https://bugzilla.novell.com/show_bug.cgi?&id=468350

Signed-off-by: Olaf Hering <olaf@...fle.de>

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,
 };
 
-- 
1.7.10.4

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ