mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: linux-kernel@vger.kernel.org
Cc: rpurdie@rpsys.net
Subject: [RFC] [LEDS] reorganise Kconfig
Date: Sat, 1 Apr 2006 16:42:46 +0100	[thread overview]
Message-ID: <20060401154246.GA11649@home.fluff.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

This patch reorganises the drivers/leds Kconfig
file to have the LED trigger enable with the
triggers themselves.

The patch also adds comments to divide up the
sections into the drivers and triggers

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

[-- Attachment #2: 2616-leds-kconfig-reorg.patch --]
[-- Type: text/plain, Size: 1344 bytes --]

diff -urpN -X ../dontdiff linux-2.6.16-git20-bjd3/drivers/leds/Kconfig linux-2.6.16-git20-bjd4/drivers/leds/Kconfig
--- linux-2.6.16-git20-bjd3/drivers/leds/Kconfig	2006-04-01 14:49:22.000000000 +0100
+++ linux-2.6.16-git20-bjd4/drivers/leds/Kconfig	2006-04-01 16:37:11.000000000 +0100
@@ -14,13 +14,7 @@ config LEDS_CLASS
 	  This option enables the led sysfs class in /sys/class/leds.  You'll
 	  need this to do anything useful with LEDs.  If unsure, say N.
 
-config LEDS_TRIGGERS
-	bool "LED Trigger support"
-	depends NEW_LEDS
-	help
-	  This option enables trigger support for the leds class.
-	  These triggers allow kernel events to drive the LEDs and can
-	  be configured via sysfs. If unsure, say Y.
+comment "LED drivers"
 
 config LEDS_CORGI
 	tristate "LED Support for the Sharp SL-C7x0 series"
@@ -66,6 +60,16 @@ config LEDS_S3C24XX
 	  This option enables support for LEDs connected to GPIO lines
 	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
 
+comment "LED Triggers"
+
+config LEDS_TRIGGERS
+	bool "LED Trigger support"
+	depends NEW_LEDS
+	help
+	  This option enables trigger support for the leds class.
+	  These triggers allow kernel events to drive the LEDs and can
+	  be configured via sysfs. If unsure, say Y.
+
 config LEDS_TRIGGER_TIMER
 	tristate "LED Timer Trigger"
 	depends LEDS_TRIGGERS

             reply	other threads:[~2006-04-01 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01 15:42 Ben Dooks [this message]
2006-04-02 10:44 ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060401154246.GA11649@home.fluff.org \
    --to=ben-linux@fluff.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®