Re: [PATCH] leds: remove config option LEDS_GPIO_PLATFORM fromKconfig
From: Grant Likely
Date: Fri Jun 03 2011 - 14:09:01 EST
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@xxxxxxxxxx>
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
>
--
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/