From patchwork Wed Feb 18 02:39:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5842561 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 73CC5BF440 for ; Wed, 18 Feb 2015 02:38:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A6AB20154 for ; Wed, 18 Feb 2015 02:38:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F06720149 for ; Wed, 18 Feb 2015 02:38:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751596AbbBRCiq (ORCPT ); Tue, 17 Feb 2015 21:38:46 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:45096 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbbBRCip (ORCPT ); Tue, 17 Feb 2015 21:38:45 -0500 Received: by pdjz10 with SMTP id z10so48046519pdj.12 for ; Tue, 17 Feb 2015 18:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=Lx3KPxzCi9Qu3t1GlFXrlnRnuN5dmVx0NHwenp2tqUE=; b=x1TtBxDQByWPTHOeqQZsIUH3r9tSnXC0YM0UpbD2ST0ZNA9o5LFsxJA2jgwFgwgT7d 1NJmCIKPZ8QJNEbv8TPRtDeBZ3s8gVni5WCh9kPejnGhFlEnXiVMH9W81aZRjTfH8byN SFWYzaAl0pf6nsVpxTVW2yctbJlccaW9zAwG/1oqGhqXwx/DAshpjgt2HaA+F4B+RCaP fSVK8oeOE3q+hEgYJz1j5pKsYBIvUDhzX3eVW5JVNHVs0Ab8PL9J+aicigQ33Grc4x8j xYqLctSHxol8Cxm01FzXaMK5N5mQNlgMAXmidMEQDluI7zA8aO8i+IXrzmFdC8jAzR5D 2cSw== X-Received: by 10.66.66.133 with SMTP id f5mr34321475pat.20.1424227125393; Tue, 17 Feb 2015 18:38:45 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id bh15sm10705557pdb.21.2015.02.17.18.38.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Feb 2015 18:38:44 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Wed, 18 Feb 2015 11:39:03 +0900 Message-Id: <20150218023903.12588.46543.sendpatchset@little-apple> In-Reply-To: <20150218023812.12588.9023.sendpatchset@little-apple> References: <20150218023812.12588.9023.sendpatchset@little-apple> Subject: [PATCH 05/05] ARM: shmobile: r8a7779: Remove unused functions Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Magnus Damm Now when the Marzen reference board code is gone we can remove a few unused function prototypes and funtions. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/r8a7779.h | 2 -- arch/arm/mach-shmobile/setup-r8a7779.c | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/mach-shmobile/r8a7779.h +++ work/arch/arm/mach-shmobile/r8a7779.h 2015-02-17 02:42:26.766196792 +0900 @@ -11,14 +11,12 @@ enum { }; extern void r8a7779_init_irq_extpin(int irlm); -extern void r8a7779_init_irq_extpin_dt(int irlm); extern void r8a7779_init_irq_dt(void); extern void r8a7779_map_io(void); extern void r8a7779_earlytimer_init(void); extern void r8a7779_add_early_devices(void); extern void r8a7779_add_standard_devices(void); extern void r8a7779_init_late(void); -extern u32 r8a7779_read_mode_pins(void); extern void r8a7779_clock_init(void); extern void r8a7779_pinmux_init(void); extern void r8a7779_pm_init(void); --- 0004/arch/arm/mach-shmobile/setup-r8a7779.c +++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2015-02-17 02:42:48.296196715 +0900 @@ -97,7 +97,7 @@ static struct resource irqpin0_resources DEFINE_RES_IRQ(gic_spi(30)), /* IRQ3 */ }; -void __init r8a7779_init_irq_extpin_dt(int irlm) +void __init r8a7779_init_irq_extpin(int irlm) { void __iomem *icr0 = ioremap_nocache(0xfe780000, PAGE_SIZE); u32 tmp; @@ -115,11 +115,7 @@ void __init r8a7779_init_irq_extpin_dt(i tmp |= (1 << 21); /* LVLMODE = 1 */ iowrite32(tmp, icr0); iounmap(icr0); -} -void __init r8a7779_init_irq_extpin(int irlm) -{ - r8a7779_init_irq_extpin_dt(irlm); if (irlm) platform_device_register_resndata( NULL, "renesas_intc_irqpin", -1, @@ -745,7 +741,7 @@ void __init r8a7779_init_irq_dt(void) #define MODEMR 0xffcc0020 -u32 __init r8a7779_read_mode_pins(void) +static u32 __init r8a7779_read_mode_pins(void) { static u32 mode; static bool mode_valid;