mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: linux-kernel@vger.kernel.org, rpurdie@rpsys.net, patches@linaro.org
Subject: Re: [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig
Date: Fri, 3 Jun 2011 12:08:56 -0600	[thread overview]
Message-ID: <20110603180856.GG15616@ponder.secretlab.ca> (raw)
In-Reply-To: <1306830223-18850-1-git-send-email-shawn.guo@linaro.org>

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
> 

      reply	other threads:[~2011-06-03 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31  8:23 Shawn Guo
2011-06-03 18:08 ` Grant Likely [this message]

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=20110603180856.GG15616@ponder.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=rpurdie@rpsys.net \
    --cc=shawn.guo@linaro.org \
    /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®