From patchwork Tue Dec 3 14:50:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 21964 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EB431202FA for ; Tue, 3 Dec 2013 14:50:41 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf46650208iej.4 for ; Tue, 03 Dec 2013 06:50:41 -0800 (PST) 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Fjzayoam+s9aQhUmSRq/aGfTVXuNf2peVwh8zRSeEUE=; b=Ixsk3fXQAsnkydW7sYPJCPIxVZyq1tADxZoObO6IkntuzCc2kDiEvqxruci+nRFT4N rZ75CDcc8prhUuUIHjsBcoxXcY3PhujExl4FI80N3S0L7t/GeoIJ6rGZFBEy8vmN30zl 7wn7Le2MeMeEp7gnLUO2r7PvgFXujm2dOqmkleYkc+X0VOdcZoJYI9nTARgD55uEZ4ks elcth25t/3WUoiPzyYXnHOV+Lf072fVUDZa4poFBbvU8jrNeiul/uhcdFq/TTDwzW6fn wBHpN5HDX5N0I+oqHbXHCCMxPOc8dwX3xLyiNe3SOsOFO2twD3rEelwA74hj6HnaxiFJ gstQ== X-Gm-Message-State: ALoCoQl1FiHtV0sjlN+3ch0wUy1IF3Hkpc+dQLvkcjR2mOR5ktxqOKJwHtUDDybeQB1mL8fryC9J X-Received: by 10.50.122.100 with SMTP id lr4mr1190323igb.0.1386082241439; Tue, 03 Dec 2013 06:50:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.85.129 with SMTP id h1ls1298714qez.15.gmail; Tue, 03 Dec 2013 06:50:41 -0800 (PST) X-Received: by 10.58.46.18 with SMTP id r18mr56570647vem.4.1386082241291; Tue, 03 Dec 2013 06:50:41 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id a6si31360619vdp.78.2013.12.03.06.50.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 06:50:41 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id oz11so10121421veb.7 for ; Tue, 03 Dec 2013 06:50:41 -0800 (PST) X-Received: by 10.220.123.6 with SMTP id n6mr1707070vcr.28.1386082241110; Tue, 03 Dec 2013 06:50:41 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp214038vcz; Tue, 3 Dec 2013 06:50:40 -0800 (PST) X-Received: by 10.153.7.106 with SMTP id db10mr40094459lad.9.1386082240203; Tue, 03 Dec 2013 06:50:40 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id bj6si3100296lbc.77.2013.12.03.06.50.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 06:50:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.43 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id n7so9094126lam.16 for ; Tue, 03 Dec 2013 06:50:39 -0800 (PST) X-Received: by 10.152.1.5 with SMTP id 5mr3397724lai.20.1386082239579; Tue, 03 Dec 2013 06:50:39 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ox6sm39422403lbb.6.2013.12.03.06.50.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Dec 2013 06:50:38 -0800 (PST) From: Linus Walleij To: Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 2/3] mfd: ab8500: delete all GPIO platform data instances Date: Tue, 3 Dec 2013 15:50:34 +0100 Message-Id: <1386082234-18919-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This deletes all instances where the AB8500 GPIO platform data is passed around. It is completely unused in the kernel now, so it does not hurt anyone. Signed-off-by: Linus Walleij --- Sam, Lee: requesting an ACK to take this through either the pinctrl tree or the ARM SoC tree if I build up more of these pdata removal patches for abx500. --- include/linux/mfd/abx500/ab8500-gpio.h | 10 ---------- include/linux/mfd/abx500/ab8500.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/include/linux/mfd/abx500/ab8500-gpio.h b/include/linux/mfd/abx500/ab8500-gpio.h index 172b2f201ae0..ebef068cbb6f 100644 --- a/include/linux/mfd/abx500/ab8500-gpio.h +++ b/include/linux/mfd/abx500/ab8500-gpio.h @@ -8,16 +8,6 @@ #ifndef _AB8500_GPIO_H #define _AB8500_GPIO_H -/* - * Platform data to register a block: only the initial gpio/irq number. - * Array sizes are large enough to contain all AB8500 and AB9540 GPIO - * registers. - */ - -struct abx500_gpio_platform_data { - int gpio_base; -}; - enum abx500_gpio_pull_updown { ABX500_GPIO_PULL_DOWN = 0x0, ABX500_GPIO_PULL_NONE = 0x1, diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index f4acd898dac9..a86ca1406fb8 100644 --- a/include/linux/mfd/abx500/ab8500.h +++ b/include/linux/mfd/abx500/ab8500.h @@ -368,7 +368,6 @@ struct ab8500 { }; struct ab8500_regulator_platform_data; -struct ab8500_gpio_platform_data; struct ab8500_codec_platform_data; struct ab8500_sysctrl_platform_data; @@ -382,7 +381,6 @@ struct ab8500_platform_data { int irq_base; void (*init) (struct ab8500 *); struct ab8500_regulator_platform_data *regulator; - struct abx500_gpio_platform_data *gpio; struct ab8500_codec_platform_data *codec; struct ab8500_sysctrl_platform_data *sysctrl; };