From patchwork Thu Jun 2 12:20:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 69162 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp86684qgf; Thu, 2 Jun 2016 05:20:35 -0700 (PDT) X-Received: by 10.66.4.129 with SMTP id k1mr4887170pak.45.1464870034905; Thu, 02 Jun 2016 05:20:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si305822pfd.163.2016.06.02.05.20.34; Thu, 02 Jun 2016 05:20:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbcFBMUc (ORCPT + 30 others); Thu, 2 Jun 2016 08:20:32 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36107 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750811AbcFBMUb (ORCPT ); Thu, 2 Jun 2016 08:20:31 -0400 Received: by mail-lf0-f51.google.com with SMTP id b73so32645922lfb.3 for ; Thu, 02 Jun 2016 05:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YlIFgHMclt3Wdmx+yWgD5Y5KsiC9pOVglMsIEWEIym4=; b=LiqE1SFoX0bOCLlzm0JfmgJNk8VbmJ2M2PBSvSpjSgt4sffZM8JuIx7cxjh8Lp89ZT F/ocF5ZtcoFO4tAYMauvZ3tbmhOnMKba3hVE5lWb/im+hiRcY9DQsIcCKGGKqN2Q3G56 FAdz6b+HjIIsOZ4QFwfpo80NwzykNs/aLBvpc= 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:mime-version :content-transfer-encoding; bh=YlIFgHMclt3Wdmx+yWgD5Y5KsiC9pOVglMsIEWEIym4=; b=P2HfT1iVQ33qT96eeT/qQF+ua/Cvv3oBihnh86mOSvg5P7cKBgFasi4h0IcSqV5vsT UqTnZjytrATpAHGoSIQXPwFUtNgu2RBP1rqpzBjRMpadEbQWT73l3H8t9FNzP6g3+8nF xifwZ55pAH8/dGAn069bnMakFXkPLsQ1RtrICFC+oPLCJ1BMvdxSdfqvI6neQHFWVztg dI56zpst2iWXF4ID+V+8MUI4aprsfe9fXQevSRg7e1omp+Arf8QlbuW5gvbVmwiRwITu eV6rWMKHp+E4WMXnHilFPJ9ELUa/gHYdCWf8CirubDjbnrX+W0UiZq0by4K5xkpziVzi I0Yg== X-Gm-Message-State: ALyK8tJKNyyDjPM8iDYEkjYSvoubD38mR1eL7yM/AbdvJm0OASMSgFMamlYyxIkWI6b3t+ru X-Received: by 10.25.18.26 with SMTP id h26mr3396054lfi.110.1464870029607; Thu, 02 Jun 2016 05:20:29 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f93sm3980395lji.46.2016.06.02.05.20.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jun 2016 05:20:28 -0700 (PDT) From: Linus Walleij To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Linus Walleij , =?UTF-8?q?Michael=20B=C3=BCsch?= , x86@kernel.org Subject: [PATCH] x86: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB Date: Thu, 2 Jun 2016 14:20:18 +0200 Message-Id: <1464870018-8281-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This replaces: - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can now be selected directly. - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB is now selectable by everyone, so we need not declare our intent to select it. When ordering the symbols the following rationale was used: if the selects were in alphabetical order, I moved select GPIOLIB to be in alphabetical order, but if the selects were not maintained in alphabetical order, I just replaced "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB". Cc: Michael Büsch Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: x86@kernel.org Signed-off-by: Linus Walleij --- X86 maintainers: please apply this directly to your tree. --- arch/x86/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.4.11 diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0a7b885964ba..607382b95372 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -49,7 +49,6 @@ config X86 select ARCH_WANTS_DYNAMIC_TASK_STRUCT select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_IPC_PARSE_VERSION if X86_32 - select ARCH_WANT_OPTIONAL_GPIOLIB select BUILDTIME_EXTABLE_SORT select CLKEVT_I8253 select CLKSRC_I8253 if X86_32 @@ -643,7 +642,7 @@ config STA2X11 select X86_DMA_REMAP select SWIOTLB select MFD_STA2X11 - select ARCH_REQUIRE_GPIOLIB + select GPIOLIB default n ---help--- This adds support for boards based on the STA2X11 IO-Hub,