From patchwork Mon Jul 1 05:41:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805391 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 00271BF4A1 for ; Mon, 1 Jul 2013 05:44:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1575720115 for ; Mon, 1 Jul 2013 05:44:15 +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 2E8A32010C for ; Mon, 1 Jul 2013 05:44:14 +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 1UtWsX-0002ZI-Pe; Mon, 01 Jul 2013 05:42:23 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWs9-00087M-Sl; Mon, 01 Jul 2013 05:41:57 +0000 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtWs7-00085g-JA for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 05:41:56 +0000 Received: by mail-pd0-f179.google.com with SMTP id q10so2306660pdj.38 for ; Sun, 30 Jun 2013 22:41:34 -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=86k7NSqRAV2+W7fwzPXcXrMZe04X83SQrWSerB+X83Y=; b=07FdltvrmgvWJeUodr4xucxs4nBN5d9/ZSEDSbXKEc00X+AQqJMuSasV2UZjJmCSSK GxRISMFXhQcIWVBe8gkJZFyt/pxLK8N3albOhq8KD+sxN+t0AV8WP4hiMBDIb6316wjZ ra6WMuoJKgj7TCpBljnP6I47N7G560tAd4djoNa5DzLzIlWVceHAU4tx7UEZ5DqlkMtO iIRE2kyPyywPliswcVQv+9sGGjRnPVMaCig3/EZwyLrXf+NNa1pmQ4+Hfqe6pIxjyaMS zZNxuKXUsXCOePw6SCd6VWz9QYaDWxeIHfz4hs8/D2o8NiqNuUMRVMNIOFAo6mX6XkBp K3Eg== X-Received: by 10.68.170.97 with SMTP id al1mr22434216pbc.0.1372657293981; Sun, 30 Jun 2013 22:41: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 eq5sm20462040pbc.15.2013.06.30.22.41.28 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 22:41:30 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 14:41:33 +0900 Message-Id: <20130701054133.19319.79856.sendpatchset@w520> In-Reply-To: <20130701054106.19319.46845.sendpatchset@w520> References: <20130701054106.19319.46845.sendpatchset@w520> Subject: [PATCH 03/07] ARM: shmobile: Remove unused r8a7778 auxdata and callback X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_014155_740292_C83DB56D X-CRM114-Status: UNSURE ( 8.53 ) 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-r8a7778.c | 11 ----------- 1 file changed, 11 deletions(-) --- 0001/arch/arm/mach-shmobile/setup-r8a7778.c +++ work/arch/arm/mach-shmobile/setup-r8a7778.c 2013-07-01 13:21:05.000000000 +0900 @@ -457,16 +457,6 @@ void __init r8a7778_init_irq_dt(void) r8a7778_init_irq_common(); } -static const struct of_dev_auxdata r8a7778_auxdata_lookup[] __initconst = { - {}, -}; - -void __init r8a7778_add_standard_devices_dt(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, - r8a7778_auxdata_lookup, NULL); -} - static const char *r8a7778_compat_dt[] __initdata = { "renesas,r8a7778", NULL, @@ -475,7 +465,6 @@ static const char *r8a7778_compat_dt[] _ DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)") .init_early = r8a7778_init_delay, .init_irq = r8a7778_init_irq_dt, - .init_machine = r8a7778_add_standard_devices_dt, .init_time = shmobile_timer_init, .dt_compat = r8a7778_compat_dt, .init_late = r8a7778_init_late,