Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp452092ybt; Wed, 24 Jun 2020 03:21:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpvVefjwjdBFS3cIAYYRqRmsfXiy/Um5Ef1RtDeQfYCB56TtNIvcDczjJqpTTl8J8pp4ns X-Received: by 2002:a50:9f6a:: with SMTP id b97mr698548edf.322.1592994110351; Wed, 24 Jun 2020 03:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592994110; cv=none; d=google.com; s=arc-20160816; b=VKXtmTiAzzYPw90B6bJ1BnX/D7JqvNh7+loRO1Cmu+2/XSquYV+DA1tfxJbV/RUI7K Vsn1HycAlbewWp+blpOrNRFobUIs1uqemiNjoc55E/u/1k13QhUv8F+laL0OrQCa7nvU 7OQU6TiITpngWZPel35B5JcQo6wLoANtu1AoqG9ZcpgcG9+f85ECX1iLM/ITX15E/iTe w3Urlfsg4QhxhQTi92hBLcG60f9ObdLLmWh8GOD9iUx6NTmjDUIzZkT3+LdFjV2FXyeX 22WIrGtwrTHdnMxXxzaPTjomW38dXL9E2BjYhWatEWE9yYG4ZAmW8HZxIj0IzCvgDQ2R x1QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FRi5cLz2i8treGL656N0ByW0/+7y+778OS4JhAKmXLM=; b=fQ/vZcnq7diHZ4j5i9V2QgvVXH6IFUHTW0FRcmrSamrJlwADYmU2mu3aE+CzlXj+Ko r1sgMapLVneud1v4udk5lPKg39ehgIduB5M2pcEQOsX3EkPFsgRFGUcom4pqNf3bQor3 0DQEvb6XDJIWrl8FlInnnQPoMwTNIARA71u/wraRe84dPowR9X4YWKidik59f606c55w IKz1XvfX7p9cBytZ9rJHxxfGRRJD6UAIWiA8zmE/DV7RuIEalVkq2Ei6+zNZel72qUvL V1qdmxsok3bDvOdkJCZFP2W3Q7VqiHUp7IfrYdUsFoySPCjpfnTsk8bNxKu1zrw40PQv fNGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=oXjREGJg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz7si13667688ejb.455.2020.06.24.03.21.24; Wed, 24 Jun 2020 03:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=oXjREGJg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390340AbgFXKUy (ORCPT + 99 others); Wed, 24 Jun 2020 06:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388197AbgFXKUX (ORCPT ); Wed, 24 Jun 2020 06:20:23 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF0FC061573 for ; Wed, 24 Jun 2020 03:20:22 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id c139so1262436qkg.12 for ; Wed, 24 Jun 2020 03:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FRi5cLz2i8treGL656N0ByW0/+7y+778OS4JhAKmXLM=; b=oXjREGJgVU4dVMZOSXvMrbqFVvgENDSiVYKLTZJdkwdyGiW1I9KPHuAotyShS63LFA l4RS3K9+6w1z+0m1Ew8949PajoqeHkAoHlUXkvsmQdPQX5w1bSW/wDpRG9gWaiAnRe3a c9mP5+rWIQbqp1AmG0Fu5sQPc3rMdUpu6KSPCPVPBFUlgF+92t05BXwGtyAO4bOvclgh 9icz0tsx7gJtMYyiDHBWx6xTFxAKB4fXyHWOohgyo9U0UyJmAma44G1w8Cl8U/d0u9lZ JROZGmUGMwjaB1Ls+vA4OZDSmCqK8qRfl/iG3Mz+SmVwcFwnoMohkDVF/+F8VZgHvAV5 O2PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FRi5cLz2i8treGL656N0ByW0/+7y+778OS4JhAKmXLM=; b=dezjNDPAawdLzFMJMd0AX46JazAygzsku7AG3kTJZ3D2hOFlzwjGC3Vzje6RvgrIOC 9oyn4P0KwSOvyVWLnOPWJK3MtPoT9ZZtGc5uPlzVFLbWoBjjxqukTlIKsO4pRqtD2YGC 1vyT2DoiQXXyZM9Gvd+vuifgoysY+LJL/8mxbXvdUlwN8Kfbi4JwFjm+FYnCGUNuIRfH Q7lK8m7cBjyTNCeCxHSwqmuEZK1q5peIMu4YDVMFOl5xWq0hzfL9AuKtgsG+PQjG0LLG SYm86K3svInqJDaFxyCd0mF8OFLJ8qABgCaySeAXDlMWABdDxj90RZUoe4qmPNAYjcTT t2Ng== X-Gm-Message-State: AOAM532o/bIByy0Ck0YWcLpF0IrTSB8a4uez439w4zkyzs9wecFjKuwV 6s/KQ9z5Ih8Z2KLNg+8PnsJW8JuRg2VTqZfQo6WUDv4h X-Received: by 2002:a37:4ac6:: with SMTP id x189mr23699573qka.323.1592994021954; Wed, 24 Jun 2020 03:20:21 -0700 (PDT) MIME-Version: 1.0 References: <20200623144001.17052-1-geert+renesas@glider.be> In-Reply-To: <20200623144001.17052-1-geert+renesas@glider.be> From: Bartosz Golaszewski Date: Wed, 24 Jun 2020 12:20:11 +0200 Message-ID: Subject: Re: [PATCH] gpio: Drop superfluous dependencies on GPIOLIB To: Geert Uytterhoeven Cc: Linus Walleij , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 23 cze 2020 o 16:40 Geert Uytterhoeven napisa=C5=82(a): > > All config options for GPIO drivers are inside a big "if GPIOLIB ... > endif" block, so there is no reason for individual config options to > have expicit dependencies on GPIOLIB. Hence remove them. > > Signed-off-by: Geert Uytterhoeven > --- > drivers/gpio/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index f875ec95ba8c3a7a..291bffb5c7e58d7f 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -411,7 +411,7 @@ config GPIO_MXS > > config GPIO_OCTEON > tristate "Cavium OCTEON GPIO" > - depends on GPIOLIB && CAVIUM_OCTEON_SOC > + depends on CAVIUM_OCTEON_SOC > default y > help > Say yes here to support the on-chip GPIO lines on the OCTEON > @@ -1118,7 +1118,7 @@ config GPIO_DLN2 > > config HTC_EGPIO > bool "HTC EGPIO support" > - depends on GPIOLIB && ARM > + depends on ARM > help > This driver supports the CPLD egpio chip present on > several HTC phones. It provides basic support for input > -- > 2.17.1 > Applied, thanks! Bartosz