From patchwork Wed May 7 23:37:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4132641 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 4E6AD9F1E1 for ; Wed, 7 May 2014 23:38:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 79BB6201FB for ; Wed, 7 May 2014 23:38:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B71D7201ED for ; Wed, 7 May 2014 23:38:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiBO3-000102-HJ; Wed, 07 May 2014 23:36:31 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiBNv-0000ks-II for linux-arm-kernel@lists.infradead.org; Wed, 07 May 2014 23:36:24 +0000 Received: by mail-pa0-f43.google.com with SMTP id hz1so1844899pad.2 for ; Wed, 07 May 2014 16:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=uvEif653tKWPMTWRxB7Vi1slZ9eCU2iBl8vc2xuMB3E=; b=UPz5tf9/1H8GEzV+qJ0hoEbau2BeMxctJ36A3BfZeQ42zep/sZd4drCNUnh3t7AwVy sgFZP7YME3iPRE1STkUpcrHuY2pO/sL6soYVsnA1z2BfRt8PivXsCYqG/azQ6zjw6jGh R1XGJ8It6TDg3PtYHr4SYi/GgMmQ1ckn+63okVlJNQ01fNvnvDSuFfiovklg0/+ysrOk zC+awiH9lnhwViGyGBjnfYJF/CgBHq/HreOQWeVQd9CZ1GdizkExCKF1tHGFE6I1M1hw 41GAOusLoWGFzai4v3u69TzdbjgrNQ6VN1OLT2YeAcrdDh585Dj8T3xKz+KZSEONZmiO dANQ== X-Received: by 10.66.177.168 with SMTP id cr8mr294186pac.128.1399505762058; Wed, 07 May 2014 16:36:02 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id di3sm5212434pbc.11.2014.05.07.16.35.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 May 2014 16:36:00 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 08 May 2014 08:37:53 +0900 Message-Id: <20140507233753.29842.55463.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Minor cleanup of the Armadillo legacy board code X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140507_163623_684277_845E21E2 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: horms@verge.net.au, Magnus Damm , 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=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Cleanup the legacy Armadillo board code slightly by removing the pointless eva_add_early_devices() function Signed-off-by: Magnus Damm --- Written against renesas-devel-v3.15-rc3-20140502 arch/arm/mach-shmobile/board-armadillo800eva.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- 0001/arch/arm/mach-shmobile/board-armadillo800eva.c +++ work/arch/arm/mach-shmobile/board-armadillo800eva.c 2014-04-24 18:11:16.000000000 +0900 @@ -1300,11 +1300,6 @@ static void __init eva_earlytimer_init(v eva_clock_init(); } -static void __init eva_add_early_devices(void) -{ - r8a7740_add_early_devices(); -} - #define RESCNT2 IOMEM(0xe6188020) static void eva_restart(enum reboot_mode mode, const char *cmd) { @@ -1319,7 +1314,7 @@ static const char *eva_boards_compat_dt[ DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva") .map_io = r8a7740_map_io, - .init_early = eva_add_early_devices, + .init_early = r8a7740_add_early_devices, .init_irq = r8a7740_init_irq_of, .init_machine = eva_init, .init_late = shmobile_init_late,