From patchwork Mon Jul 1 05:41:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805371 Return-Path: X-Original-To: patchwork-linux-arm@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 3A96EBF4A1 for ; Mon, 1 Jul 2013 05:42:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5BC5D20115 for ; Mon, 1 Jul 2013 05:42:28 +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 5F8162010C for ; Mon, 1 Jul 2013 05:42:27 +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 1UtWru-0002P7-P4; Mon, 01 Jul 2013 05:41:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWro-00085p-Lj; Mon, 01 Jul 2013 05:41:36 +0000 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWrl-00084o-VS for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 05:41:34 +0000 Received: by mail-pb0-f46.google.com with SMTP id rq2so4431839pbb.33 for ; Sun, 30 Jun 2013 22:41:12 -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=KLDvjuhDXZL61TZ4MrbXLRQIf9+psDbYkRGSnFz4jrg=; b=njN/MIgn3S4rUJSuSH3BeYI1vLE14RL6ajjhbN7nRtKIdnblNMqUwE6fgjvLTSH01K nf6etH9IxM3AJM0nolaapeFzkFdTpV68H91OuUdzpIebMxi54TFY9mm+oA7AD/JdygfY zM/R8zIpLtU0RMfR8mhfbVCDhNkWOQf/vgweIhhZrmjCDQC/m0B6Qf81lCf2pBAAxj6E dWnog8SNDzTPGQA0uKanLS5yyJ+K8JyMO1clay5mTM55zjKbu5ju2frtEcuxdHnbtp2j eVb+eQif/NZP7t3yu9LigxmQ45gPkjwgpZWyTT8VSIlemMxZSYsegQVNm7yrDUio3uS8 oWcA== X-Received: by 10.68.103.194 with SMTP id fy2mr21945755pbb.158.1372657272525; Sun, 30 Jun 2013 22:41:12 -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 pb5sm20433609pbc.29.2013.06.30.22.41.10 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 22:41:11 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 14:41:15 +0900 Message-Id: <20130701054115.19319.64158.sendpatchset@w520> In-Reply-To: <20130701054106.19319.46845.sendpatchset@w520> References: <20130701054106.19319.46845.sendpatchset@w520> Subject: [PATCH 01/07] ARM: shmobile: Remove unused EMEV2 auxdata and callback X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_014134_151910_1F790182 X-CRM114-Status: UNSURE ( 8.12 ) 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 Replace the SoC-specific callback init_machine() with a NULL to use the default code. This cleans up the code and reduces the number of lines. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-emev2.c | 10 ---------- 1 file changed, 10 deletions(-) --- 0001/arch/arm/mach-shmobile/setup-emev2.c +++ work/arch/arm/mach-shmobile/setup-emev2.c 2013-07-01 13:19:32.000000000 +0900 @@ -435,15 +435,6 @@ void __init emev2_init_irq(void) } #ifdef CONFIG_USE_OF -static const struct of_dev_auxdata emev2_auxdata_lookup[] __initconst = { - { } -}; - -static void __init emev2_add_standard_devices_dt(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, - emev2_auxdata_lookup, NULL); -} static const char *emev2_boards_compat_dt[] __initdata = { "renesas,emev2", @@ -455,7 +446,6 @@ DT_MACHINE_START(EMEV2_DT, "Generic Emma .init_early = emev2_init_delay, .nr_irqs = NR_IRQS_LEGACY, .init_irq = irqchip_init, - .init_machine = emev2_add_standard_devices_dt, .dt_compat = emev2_boards_compat_dt, MACHINE_END