* [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig
@ 2011-05-31 8:23 Shawn Guo
2011-06-03 18:08 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Guo @ 2011-05-31 8:23 UTC (permalink / raw)
To: linux-kernel; +Cc: rpurdie, grant.likely, patches, Shawn Guo
Since the commit a314c5c0040aab51ebb1ecfd37a9198a91962243
(leds/leds-gpio: merge platform_driver with of_platform_driver),
the config option LEDS_GPIO_PLATFORM becomes useless, so remove it.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
drivers/leds/Kconfig | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 23f0d5e..af86cbd 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -93,7 +93,7 @@ config LEDS_NET48XX
config LEDS_NET5501
tristate "LED Support for Soekris net5501 series Error LED"
depends on LEDS_TRIGGERS
- depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
+ depends on X86 && GPIO_CS5535
select LEDS_TRIGGER_DEFAULT_ON
default n
help
@@ -183,14 +183,6 @@ config LEDS_GPIO
defined as platform devices and/or OpenFirmware platform devices.
The code to use these bindings can be selected below.
-config LEDS_GPIO_PLATFORM
- bool "Platform device bindings for GPIO LEDs"
- depends on LEDS_GPIO
- default y
- help
- Let the leds-gpio driver drive LEDs which have been defined as
- platform devices. If you don't know what this means, say yes.
-
config LEDS_GPIO_OF
bool "OpenFirmware platform device bindings for GPIO LEDs"
depends on LEDS_GPIO && OF_DEVICE
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig
2011-05-31 8:23 [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig Shawn Guo
@ 2011-06-03 18:08 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2011-06-03 18:08 UTC (permalink / raw)
To: Shawn Guo; +Cc: linux-kernel, rpurdie, patches
On Tue, May 31, 2011 at 04:23:43PM +0800, Shawn Guo wrote:
> Since the commit a314c5c0040aab51ebb1ecfd37a9198a91962243
> (leds/leds-gpio: merge platform_driver with of_platform_driver),
> the config option LEDS_GPIO_PLATFORM becomes useless, so remove it.
>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Applied, thanks, and modified to also remove LEDS_GPIO_OF, changing
the #ifdef to check CONFIG_OF_GPIO instead.
g.
> ---
> drivers/leds/Kconfig | 10 +---------
> 1 files changed, 1 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
> index 23f0d5e..af86cbd 100644
> --- a/drivers/leds/Kconfig
> +++ b/drivers/leds/Kconfig
> @@ -93,7 +93,7 @@ config LEDS_NET48XX
> config LEDS_NET5501
> tristate "LED Support for Soekris net5501 series Error LED"
> depends on LEDS_TRIGGERS
> - depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
> + depends on X86 && GPIO_CS5535
> select LEDS_TRIGGER_DEFAULT_ON
> default n
> help
> @@ -183,14 +183,6 @@ config LEDS_GPIO
> defined as platform devices and/or OpenFirmware platform devices.
> The code to use these bindings can be selected below.
>
> -config LEDS_GPIO_PLATFORM
> - bool "Platform device bindings for GPIO LEDs"
> - depends on LEDS_GPIO
> - default y
> - help
> - Let the leds-gpio driver drive LEDs which have been defined as
> - platform devices. If you don't know what this means, say yes.
> -
> config LEDS_GPIO_OF
> bool "OpenFirmware platform device bindings for GPIO LEDs"
> depends on LEDS_GPIO && OF_DEVICE
> --
> 1.7.4.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-03 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 8:23 [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig Shawn Guo
2011-06-03 18:08 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).