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: 3848561 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A3159BF540 for ; Tue, 18 Mar 2014 15:59:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D13B220122 for ; Tue, 18 Mar 2014 15:59:33 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB9F0202EB for ; Tue, 18 Mar 2014 15:59:32 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2IFwV0v005229; Tue, 18 Mar 2014 10:58:31 -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 s2IFwSbO015225; Tue, 18 Mar 2014 10:58:29 -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:29 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2IFwRiS003097; Tue, 18 Mar 2014 10:58:28 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id E71C380627; Tue, 18 Mar 2014 09:58:27 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv90.itg.ti.com (dlelxv90.itg.ti.com [172.17.2.17]) by linux.omap.com (Postfix) with ESMTP id B1DB280626 for ; Tue, 18 Mar 2014 09:58:26 -0600 (CST) 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 CC: , Arnd Bergmann , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;