From patchwork Tue May 31 08:23:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 1674 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:54:16 -0000 Delivered-To: patches@linaro.org Received: by 10.52.110.9 with SMTP id hw9cs276026vdb; Tue, 31 May 2011 01:16:21 -0700 (PDT) Received: by 10.42.219.65 with SMTP id ht1mr10087255icb.14.1306829781078; Tue, 31 May 2011 01:16:21 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id u10si26396373icw.103.2011.05.31.01.16.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 01:16:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by pzk2 with SMTP id 2so2183779pzk.37 for ; Tue, 31 May 2011 01:16:19 -0700 (PDT) Received: by 10.143.26.42 with SMTP id d42mr879463wfj.215.1306829778961; Tue, 31 May 2011 01:16:18 -0700 (PDT) Received: from localhost.localdomain ([114.216.156.218]) by mx.google.com with ESMTPS id x1sm3546996pbb.82.2011.05.31.01.16.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 01:16:18 -0700 (PDT) From: Shawn Guo To: linux-kernel@vger.kernel.org Cc: rpurdie@rpsys.net, grant.likely@secretlab.ca, patches@linaro.org, Shawn Guo Subject: [PATCH] leds: remove config option LEDS_GPIO_PLATFORM from Kconfig Date: Tue, 31 May 2011 16:23:43 +0800 Message-Id: <1306830223-18850-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 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 --- 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