From patchwork Wed Jun 4 13:33:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 31361 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CB877203AC for ; Wed, 4 Jun 2014 13:34:33 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf43710786oag.2 for ; Wed, 04 Jun 2014 06:34:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=xmbQ6vlCv+LgAsU4uMeTk41Ikg3XZ1EQFerjqIHpMHk=; b=JJeltQdG/BGYdnZBDjOP/9Vf1X2btRxwn+UmjEsO5Wt+RmGu8qU8rZjLdn+HL1YmVb PhF82rVIkF5QIcCI5SyQIb5BMKJlT6RCdZNsz38HLNXsjZ2x256kit4zetJgx8cLGzW3 05RTYUwgCRAh3NNa5lVoy/IW6PpMOBE49zYbKNUj7Kso+F9bpgzKSRGbie7+XaQp0uIO P4jVqEd70r1avWHR6w9GFKLpvCZO3+wIFyCEm0DBD1pFAra+A8I8jSlYEUYJmZBSgTz3 uM4baaMSI7ll6PXW1LeTSYNVZi4nSblIodvckGXnCLb5wqqwJt4dhPUTw5h7K5TlX/zK m4qQ== X-Gm-Message-State: ALoCoQmvylUtvfZgh349IVTirVXPR9vPFansHEnKLbZ0SWqY2lkb5cQOBaS9CVwpRW9xfSjv3kKo X-Received: by 10.182.66.33 with SMTP id c1mr21902861obt.39.1401888872132; Wed, 04 Jun 2014 06:34:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.4 with SMTP id t4ls3231768qge.1.gmail; Wed, 04 Jun 2014 06:34:32 -0700 (PDT) X-Received: by 10.52.185.72 with SMTP id fa8mr36864426vdc.12.1401888872030; Wed, 04 Jun 2014 06:34:32 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id uk3si1574079vec.102.2014.06.04.06.34.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Jun 2014 06:34:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id pa12so8735686veb.4 for ; Wed, 04 Jun 2014 06:34:32 -0700 (PDT) X-Received: by 10.58.245.2 with SMTP id xk2mr43853573vec.9.1401888871951; Wed, 04 Jun 2014 06:34:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp45728vcb; Wed, 4 Jun 2014 06:34:31 -0700 (PDT) X-Received: by 10.182.128.202 with SMTP id nq10mr21533123obb.77.1401888871372; Wed, 04 Jun 2014 06:34:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si4589188oew.72.2014.06.04.06.34.30; Wed, 04 Jun 2014 06:34:31 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753396AbaFDNea (ORCPT + 1 other); Wed, 4 Jun 2014 09:34:30 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:36958 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752977AbaFDNea (ORCPT ); Wed, 4 Jun 2014 09:34:30 -0400 Received: by mail-wg0-f44.google.com with SMTP id a1so8335151wgh.3 for ; Wed, 04 Jun 2014 06:34:28 -0700 (PDT) X-Received: by 10.180.212.5 with SMTP id ng5mr5299484wic.33.1401888868478; Wed, 04 Jun 2014 06:34:28 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ba9sm48315938wib.24.2014.06.04.06.34.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jun 2014 06:34:27 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Alexandre Courbot , Linus Walleij Subject: [PATCH 3/4] ARM: kill CONFIG_NEED_MACH_GPIO_H Date: Wed, 4 Jun 2014 15:33:57 +0200 Message-Id: <1401888838-3126-4-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1401888838-3126-1-git-send-email-linus.walleij@linaro.org> References: <1401888838-3126-1-git-send-email-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The long pain of maintaining the legacy include ladder is now gone with S5P as the last user being deleted. Cut this Kconfig option and remove the inclusion directive in for good. Signed-off-by: Linus Walleij --- arch/arm/Kconfig | 7 ------- arch/arm/include/asm/gpio.h | 5 ----- 2 files changed, 12 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 72f74f67bf72..625919888fc9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -247,13 +247,6 @@ config ARM_PATCH_PHYS_VIRT this feature (eg, building a kernel for a single machine) and you need to shrink the kernel to the minimal size. -config NEED_MACH_GPIO_H - bool - help - Select this when mach/gpio.h is required to provide special - definitions for this platform. The need for mach/gpio.h should - be avoided when possible. - config NEED_MACH_IO_H bool help diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index 477e0206e016..5e1742ea36b7 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -5,11 +5,6 @@ #define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO #endif -/* not all ARM platforms necessarily support this API ... */ -#ifdef CONFIG_NEED_MACH_GPIO_H -#include -#endif - #ifndef __ARM_GPIOLIB_COMPLEX /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ #include