From patchwork Fri Jun 28 10:30:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2798211 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 C71079F3C3 for ; Fri, 28 Jun 2013 10:35:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8A3F201A8 for ; Fri, 28 Jun 2013 10:35:21 +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 3539C201A7 for ; Fri, 28 Jun 2013 10:35:20 +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 1UsVxy-0006R2-Iw; Fri, 28 Jun 2013 10:31:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UsVx9-00013V-Kp; Fri, 28 Jun 2013 10:30:55 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UsVwh-000108-VS for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2013 10:30:28 +0000 Received: by mail-pa0-f53.google.com with SMTP id tj12so2262632pac.26 for ; Fri, 28 Jun 2013 03:30:06 -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=8ewGAwUIagvboInbmm94CRncBxaPFKBO0PZUhogCJUI=; b=x6MCYkEFBODaDq4nGvnAraZ6hRCo+sL8h2a55lsoXeL8MzykP1O2JkrhLSb6IQRBm+ X4sQd83eHjfGxysauUjHm+c/txSooXaEiDePyESIyxE/iw6Wb5qPQD16CAAc8P/EhY58 DMrQG6Sbct9pFtPbmwFs+0qjL/KaP9oU1ayqfjllJrvmVJB5CrTVk8c2i6BGBc0KnckD p7AXXJ9RSkmlOmqUk57doq76eoO42YpiPJMgzhzN5039hmjnqykgGlzRXTfD7SNhbMgI Lp/UM3iHKshMoHLicyjRtkd50iW0etF5tIXQzzxuw6pEJyqRHjwDJo/MvtziKbZ+P2/L UNfA== X-Received: by 10.66.153.140 with SMTP id vg12mr6031484pab.170.1372415406435; Fri, 28 Jun 2013 03:30:06 -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 xz1sm8345515pab.5.2013.06.28.03.30.02 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Jun 2013 03:30:04 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Fri, 28 Jun 2013 19:30:07 +0900 Message-Id: <20130628103007.31451.96485.sendpatchset@w520> In-Reply-To: <20130628102930.31451.85334.sendpatchset@w520> References: <20130628102930.31451.85334.sendpatchset@w520> Subject: [PATCH 04/06] ARM: shmobile: Remove unused r8a7779 auxdata table X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130628_063028_155876_36729508 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org, arnd@arndb.de 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=-5.4 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=unavailable 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 Pass NULL to of_platform_populate instead of passing an empty list. This cleans up the code and reduces the number of lines. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-r8a7779.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- 0001/arch/arm/mach-shmobile/setup-r8a7779.c +++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2013-06-28 15:49:50.000000000 +0900 @@ -665,10 +665,6 @@ void __init r8a7779_init_delay(void) shmobile_setup_delay(1000, 2, 4); /* Cortex-A9 @ 1000MHz */ } -static const struct of_dev_auxdata r8a7779_auxdata_lookup[] __initconst = { - {}, -}; - void __init r8a7779_add_standard_devices_dt(void) { /* clocks are setup late during boot in the case of DT */ @@ -676,8 +672,7 @@ void __init r8a7779_add_standard_devices platform_add_devices(r8a7779_devices_dt, ARRAY_SIZE(r8a7779_devices_dt)); - of_platform_populate(NULL, of_default_bus_match_table, - r8a7779_auxdata_lookup, NULL); + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); } static const char *r8a7779_compat_dt[] __initdata = {