diff mbox

leds: remove config option LEDS_GPIO_PLATFORM from Kconfig

Message ID 1306830223-18850-1-git-send-email-shawn.guo@linaro.org
State Accepted
Commit 2bcc7ed5b83b0a59c6976476e8788675038fb11b
Headers show

Commit Message

Shawn Guo May 31, 2011, 8:23 a.m. UTC
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(-)

Comments

Grant Likely June 3, 2011, 6:08 p.m. UTC | #1
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
>
diff mbox

Patch

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