From patchwork Mon Jul 1 05:42:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805441 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 711889F756 for ; Mon, 1 Jul 2013 05:47:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B9692010C for ; Mon, 1 Jul 2013 05:47:11 +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 46261200F2 for ; Mon, 1 Jul 2013 05:47:10 +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 1UtWtX-0002sh-74; Mon, 01 Jul 2013 05:43:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWsk-0008AJ-4k; Mon, 01 Jul 2013 05:42:34 +0000 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWsh-00088I-Tb for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 05:42:32 +0000 Received: by mail-pd0-f174.google.com with SMTP id 10so2316228pdc.19 for ; Sun, 30 Jun 2013 22:42:10 -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=AVGa1P5jfQrsp+FepjzsgY6iOp1FtEKNxZLuNBHaVUY=; b=EJqz7d2YE5cGQmrxaI3F4q1agzjGEfifj0ynzz3mqzquJO9YsoqZDhU1OYSSHwVXx/ idkMXg5svwIzvdzlDQ0egSAQFoi0Lfj30n5Tt4FIt3g1ASXpbermjFOMJ7m4LzGSODOA f1NdCxt5R/uyfa6HTj1LY7PejN8laKTlKYakRQUd9VVxG+/WUdz1mxB1StBYIHFa2Tgw eK7nuacYi2HEgFKdKj9oLw69cchTYFzKs78ttyGANK+XSvSttU0bq4k5tyBFNdLe6Hwr OgbACOBh9cI72cIRqMmvpkErwq8FP5rYsuNP/XSiozuLeZc3Z/VAuNC3KJjfvGdwEO8N 1L/Q== X-Received: by 10.68.250.5 with SMTP id yy5mr22324695pbc.93.1372657330532; Sun, 30 Jun 2013 22:42:10 -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 kc8sm20458068pbc.18.2013.06.30.22.42.07 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 22:42:09 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 14:42:13 +0900 Message-Id: <20130701054213.19319.40704.sendpatchset@w520> In-Reply-To: <20130701054106.19319.46845.sendpatchset@w520> References: <20130701054106.19319.46845.sendpatchset@w520> Subject: [PATCH 07/07] ARM: shmobile: Remove redundant r8a7790 callback X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_014232_048207_80358B82 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 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-r8a7790.c | 5 ----- 1 file changed, 5 deletions(-) --- 0001/arch/arm/mach-shmobile/setup-r8a7790.c +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-07-01 13:24:33.000000000 +0900 @@ -217,10 +217,6 @@ void __init r8a7790_init_delay(void) } #ifdef CONFIG_USE_OF -void __init r8a7790_add_standard_devices_dt(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -} static const char *r8a7790_boards_compat_dt[] __initdata = { "renesas,r8a7790", @@ -230,7 +226,6 @@ static const char *r8a7790_boards_compat DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") .init_early = r8a7790_init_delay, .init_irq = irqchip_init, - .init_machine = r8a7790_add_standard_devices_dt, .init_time = r8a7790_timer_init, .dt_compat = r8a7790_boards_compat_dt, MACHINE_END