Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3656723ybt; Tue, 23 Jun 2020 07:44:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS108s19LrrztnAQsKUL/0AzLQ3nURji4LDc9IZ80ujeT6XjNX9euOdP5nv8ps2W7B+CNC X-Received: by 2002:a50:fe07:: with SMTP id f7mr22504350edt.315.1592923449994; Tue, 23 Jun 2020 07:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592923449; cv=none; d=google.com; s=arc-20160816; b=XzZcGvUTBJYUpU6icbLFcNO8J/qKymOMTiAkii7kBRLtmZtxOvjqFg1kdTEE70tRn0 Au/J0YlV51XkKuzHR/b5dhBMv+d5j1ygXj4B3emNzkd2AWfet8weZumrDZS/iAExn5A2 nJxJlm1bJYYZubpz/p7oa+XiK1tPn1fyQ81YvCpi8ycgC13qcQYzAdFUGdSkOlalhC3t JGxdRa1CCn+zQ+vkSelQPo3UTp7+crnBn7fV+N8eZAZ2iKdWaON35339Nt5WxUNqiVGS UHLmSOLf2I2KnjLZfiQonq5JMhwvLkxs2695t+dXilHkwGtzoSfPjy10iiZSs8Yg3wRC Ch6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Y8SrDQGzo8QejbjIxFColtkjMbZ+Gv9TSkW21FjrjT0=; b=ewB/K4gthqjc1qnU0lv0gUuh6Caua95amHSpBAxGkrWcMe+dwvN5h/evJeFElpe4JV 6zVIWWQuZGUwrMyGkilymIlbVgTPm0WAntsz+sSP+M/aGjn0+aiIIBlllULEELJixUYF dru07IJwmlJ2Qy3yeoUjtQnXuhVCJFwQYxRYy8XOrNsZBQE7pyIYdNZdN9QosrJ/DsAt qLXEktCeIm/MEv2hy4unRf3qnTbhueYtMd2hzhjpIMjg18GA2oPCyEyUeSP8oWJh66x9 +oiEi1wlBWAh7zoll/VO4ns/BcxWUZZMQaPXZAIew1jWZVl92D/LGqYPy89fiJfSWTJ4 6j8w== ARC-Authentication-Results: i=1; mx.google.com; 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 me25si3652382ejb.164.2020.06.23.07.43.47; Tue, 23 Jun 2020 07:44:09 -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; 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 S1732740AbgFWOkI (ORCPT + 99 others); Tue, 23 Jun 2020 10:40:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732799AbgFWOkI (ORCPT ); Tue, 23 Jun 2020 10:40:08 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3A2C061755 for ; Tue, 23 Jun 2020 07:40:08 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed20:26:93a1:ff06:f8b0]) by michel.telenet-ops.be with bizsmtp id ueg32200T4qCYS806eg3tp; Tue, 23 Jun 2020 16:40:04 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1jnk5j-00075v-Od; Tue, 23 Jun 2020 16:40:03 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1jnk5j-0004Rl-MN; Tue, 23 Jun 2020 16:40:03 +0200 From: Geert Uytterhoeven To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] gpio: Drop superfluous dependencies on GPIOLIB Date: Tue, 23 Jun 2020 16:40:01 +0200 Message-Id: <20200623144001.17052-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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