From patchwork Tue Mar 18 16:51:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 3848551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B6A7A9F369 for ; Tue, 18 Mar 2014 15:59:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0BB9202EB for ; Tue, 18 Mar 2014 15:59:02 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BBF020122 for ; Tue, 18 Mar 2014 15:59:01 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPwPp-0008Dc-2D; Tue, 18 Mar 2014 15:58:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPwPm-0007CZ-HV; Tue, 18 Mar 2014 15:58:54 +0000 Received: from devils.ext.ti.com ([198.47.26.153]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPwPj-0007Bl-Lg for linux-arm-kernel@lists.infradead.org; Tue, 18 Mar 2014 15:58:52 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2IFwQx1005786; Tue, 18 Mar 2014 10:58:26 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2IFwQMN015205; Tue, 18 Mar 2014 10:58:26 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 18 Mar 2014 10:58:26 -0500 Received: from localhost (dlep60.itg.ti.com [157.170.170.21]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2IFwPPI003079; Tue, 18 Mar 2014 10:58:25 -0500 From: Grygorii Strashko To: Sekhar Nori Subject: [PATCH] ARM: davinci: remove gpio data from davinci_soc_info Date: Tue, 18 Mar 2014 18:51:20 +0200 Message-ID: <1395161480-30223-1-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140318_115851_796596_840F5DC7 X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: Kevin Hilman , davinci-linux-open-source@linux.davincidsp.com, Grygorii Strashko , Arnd Bergmann , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP GPIO's related fields can be safely removed from davinci_soc_info now, since their last user, tnetv107x gpio driver, was removed already by commit "gpio: remove obsolete tnetv107x driver". CC: Sekhar Nori CC: Kevin Hilman CC: Arnd Bergmann Signed-off-by: Grygorii Strashko --- Compile time tested only. arch/arm/mach-davinci/include/mach/common.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h index 0b3c169..8807e3b 100644 --- a/arch/arm/mach-davinci/include/mach/common.h +++ b/arch/arm/mach-davinci/include/mach/common.h @@ -36,8 +36,6 @@ struct davinci_timer_info { unsigned int clocksource_id; }; -struct davinci_gpio_controller; - /* * SoC info passed into common davinci modules. * @@ -65,13 +63,6 @@ struct davinci_soc_info { unsigned long intc_irq_num; u32 *intc_host_map; struct davinci_timer_info *timer_info; - int gpio_type; - u32 gpio_base; - unsigned gpio_num; - unsigned gpio_irq; - unsigned gpio_unbanked; - struct davinci_gpio_controller *gpio_ctlrs; - int gpio_ctlrs_num; struct emac_platform_data *emac_pdata; dma_addr_t sram_dma; unsigned sram_len;