From patchwork Sun Nov 1 09:44:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 55867 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp726925lbr; Sun, 1 Nov 2015 01:44:40 -0800 (PST) X-Received: by 10.68.132.131 with SMTP id ou3mr19656441pbb.92.1446371080037; Sun, 01 Nov 2015 01:44:40 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ag2si25469147pad.199.2015.11.01.01.44.39; Sun, 01 Nov 2015 01:44:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751270AbbKAJoi (ORCPT + 4 others); Sun, 1 Nov 2015 04:44:38 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33160 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbbKAJoh (ORCPT ); Sun, 1 Nov 2015 04:44:37 -0500 Received: by lbbec13 with SMTP id ec13so72170171lbb.0 for ; Sun, 01 Nov 2015 01:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=mao9jReJTZoqYy+Ae+oBMOiFhmVeuzLHy3cX7aO3GMc=; b=mqZ0BqIiqsL3OHCiHL4NL4ThE+Zuo/a0xa5nhbCxgmTQhdw6YOMm+9m644xqbnkTA4 UKtlqQMGYf7y4+J9CRklpnn3pkYsTQVHFqTfSyiCu4J4S7M96NjmpLBeHf6KxfKhEkh3 W49kf4K8dNnEtQXqVbFzCsNHas7a1HFBtR5vNG3TZbaWywv0ojswcWz5vGzBIn5O9V03 b+w7EV/weIfRGdmTsUAYDC3Nha/5S9oLLTT0LndW9DGUyA/EXADBiSEa0msSeFxkTOhJ lFKGd3rJZRaYmYtLNvIkh/IGvL54C4HPDG6YhiBKK+bbrPCygSc7pw5OlLLYrdbuVPb5 DaSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mao9jReJTZoqYy+Ae+oBMOiFhmVeuzLHy3cX7aO3GMc=; b=FIX6VsnfmaOTz4oAznruEGGF/Aw5RXilHZEcrtXwfuGmij2BtGFqRD16/ONUfn75mm FdttGYFB6nz+GOd0+NHZeyke8FXu5w60ILTb+3mLN+2LeUNQbN0riQuqGfgGnBWKmmwj byz+V9ruwAjua0k1BHPpd2FTYkp1CUdZBCl9ht2w/ujyktKBh4XftfKM3YDZIJD/3sr7 hhaGoMJm5u0fz24tXyLXoCgXJ7adoz2m6joFNovsUnEvT92hIDsgh4XwzAvZpNLcwVLv d/HipHeT6xmPtF4K9PX+er8gszrupH9+HqdHjuoZ1g+8oKFrOxVwMzMU1RUMvTaxify/ cWEA== X-Gm-Message-State: ALoCoQmHESS2SSaGlA1lDVgYRET8Y+D27jHneoTAJG38boumCa9KVN+DYU9nh1NhOIyHVZoAiy4r X-Received: by 10.112.63.71 with SMTP id e7mr810437lbs.115.1446371075911; Sun, 01 Nov 2015 01:44:35 -0800 (PST) Received: from localhost.localdomain.localdomain (c-297471d5.01-192-6c756e10.cust.bredbandsbolaget.se. [213.113.116.41]) by smtp.gmail.com with ESMTPSA id 200sm2946875lfz.48.2015.11.01.01.44.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 01:44:35 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: drop surplus I2C dependencies Date: Sun, 1 Nov 2015 10:44:33 +0100 Message-Id: <1446371073-31151-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The I2C expander menu already depends on I2C, drop subdependecies on individual drivers. Keep the instances of depends on I2C=y though, so these are still restricted to the compiled-in case. Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 777f401aa8ec..a8dcc99830c3 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -565,7 +565,6 @@ menu "I2C GPIO expanders" config GPIO_ADP5588 tristate "ADP5588 I2C GPIO expander" - depends on I2C help This option enables support for 18 GPIOs found on Analog Devices ADP5588 GPIO Expanders. @@ -579,7 +578,7 @@ config GPIO_ADP5588_IRQ config GPIO_ADNP tristate "Avionic Design N-bit GPIO expander" - depends on I2C && OF_GPIO + depends on OF_GPIO select GPIOLIB_IRQCHIP help This option enables support for N GPIOs found on Avionic Design @@ -591,14 +590,12 @@ config GPIO_ADNP config GPIO_MAX7300 tristate "Maxim MAX7300 GPIO expander" - depends on I2C select GPIO_MAX730X help GPIO driver for Maxim MAX7300 I2C-based GPIO expander. config GPIO_MAX732X tristate "MAX7319, MAX7320-7327 I2C Port Expanders" - depends on I2C help Say yes here to support the MAX7319, MAX7320-7327 series of I2C Port Expanders. Each IO port on these chips has a fixed role of @@ -631,7 +628,6 @@ config GPIO_MC9S08DZ60 config GPIO_PCA953X tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" - depends on I2C help Say yes here to provide access to several register-oriented SMBus I/O expanders, made mostly by NXP or TI. Compatible @@ -659,7 +655,6 @@ config GPIO_PCA953X_IRQ config GPIO_PCF857X tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" - depends on I2C select GPIOLIB_IRQCHIP select IRQ_DOMAIN help