From patchwork Fri Aug 9 09:48:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2841827 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 19AA29F271 for ; Fri, 9 Aug 2013 09:50:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3821C202FF for ; Fri, 9 Aug 2013 09:50:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 395B0202AC for ; Fri, 9 Aug 2013 09:50:52 +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 1V7jK6-0003NK-NS; Fri, 09 Aug 2013 09:49:31 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7jJa-00087q-NS; Fri, 09 Aug 2013 09:48:58 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7jJX-00085W-Aw for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2013 09:48:56 +0000 Received: by mail-pa0-f42.google.com with SMTP id lj1so4631010pab.1 for ; Fri, 09 Aug 2013 02:48:33 -0700 (PDT) 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=UYwEh/XvMsMgP/QkhOVs26GSdATf9qHyZgkHBgC2CW0=; b=GlW+bOX5hdekkWn1YVrP5TX3apwUOMhfYLmrh2+oyK6iC/ZSDBJL6LjMcMm8O3dAsy 1tWp40BfYXttB5y7x+rEfn+THoHlX0dfMl0j7b63abjnQ8OK1gymj6RF5VMMQPlWFC3N EfacI5uge09Hs9wQydMeAGx2haum4B5NMAyjZd1w0/e9cAGDb8G3Vi36xmjuT+do63D9 CYLFLPbI9XMnQm6Lk60BNqjxy2WvYRe8LFQ+IgIoaMJa6htV7baJgt482wq75uNEC+9/ WcEjnvhNbkp2jHIM/BLWJO0NqBJBkKd0MQ8L7eKpnYnYJCNPCRO0JBqYB2KympPckXKG KMSQ== X-Received: by 10.68.178.161 with SMTP id cz1mr10609152pbc.123.1376041713631; Fri, 09 Aug 2013 02:48:33 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id x8sm19160142pbb.39.2013.08.09.02.48.28 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 02:48:31 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Fri, 09 Aug 2013 18:48:43 +0900 Message-Id: <20130809094843.6530.94661.sendpatchset@w520> In-Reply-To: <20130809094748.6530.16511.sendpatchset@w520> References: <20130809094748.6530.16511.sendpatchset@w520> Subject: [PATCH 05/14] ARM: shmobile: Remove r8a7740_add_early_devices_dt() X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130809_054855_516519_CF06387A X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , arnd@arndb.de, 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: , MIME-Version: 1.0 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Remove the unused r8a7740_add_early_devices_dt() function. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-r8a7740.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) --- 0005/arch/arm/mach-shmobile/setup-r8a7740.c +++ work/arch/arm/mach-shmobile/setup-r8a7740.c 2013-08-08 15:40:07.000000000 +0900 @@ -995,25 +995,14 @@ void __init r8a7740_add_early_devices(vo shmobile_setup_console(); } -#ifdef CONFIG_USE_OF - -void __init r8a7740_add_early_devices_dt(void) -{ - shmobile_setup_delay(800, 1, 3); /* Cortex-A9 @ 800MHz */ - - early_platform_add_devices(r8a7740_early_devices, - ARRAY_SIZE(r8a7740_early_devices)); - - /* setup early console here as well */ - shmobile_setup_console(); -} - void __init r8a7740_add_dt_devices(void) { platform_add_devices(r8a7740_devices_dt, ARRAY_SIZE(r8a7740_devices_dt)); } +#ifdef CONFIG_USE_OF + void __init r8a7740_init_delay(void) { shmobile_setup_delay(800, 1, 3); /* Cortex-A9 @ 800MHz */