From patchwork Tue Feb 17 14:52:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 5840221 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1FE9CBF440 for ; Tue, 17 Feb 2015 14:52:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52408201DD for ; Tue, 17 Feb 2015 14:52:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5DF0820154 for ; Tue, 17 Feb 2015 14:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038AbbBQOwr (ORCPT ); Tue, 17 Feb 2015 09:52:47 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:53919 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826AbbBQOwr (ORCPT ); Tue, 17 Feb 2015 09:52:47 -0500 Received: from ayla.of.borg ([84.193.93.87]) by michel.telenet-ops.be with bizsmtp id tSsj1p01A1t5w8s06SsjHc; Tue, 17 Feb 2015 15:52:44 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1YNjVz-0001t0-L7; Tue, 17 Feb 2015 15:52:43 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1YNjVz-0000S2-Sy; Tue, 17 Feb 2015 15:52:43 +0100 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm Cc: linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH v4 5/5] ARM: shmobile: sh73a0: Remove unused sh73a0_add_standard_devices_dt() Date: Tue, 17 Feb 2015 15:52:40 +0100 Message-Id: <1424184760-1671-6-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424184760-1671-1-git-send-email-geert+renesas@glider.be> References: <1424184760-1671-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 "ARM: shmobile: kzm9g-reference: Remove board C code and DT file" removed the last user of sh73a0_add_standard_devices_dt(). Hence remove this function. Signed-off-by: Geert Uytterhoeven --- v4: - New. --- arch/arm/mach-shmobile/setup-sh73a0.c | 9 --------- arch/arm/mach-shmobile/sh73a0.h | 1 - 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index 48f2447ab01f6e60..2f68459e78114323 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c @@ -783,15 +783,6 @@ void __init sh73a0_add_early_devices(void) shmobile_setup_console(); } -void __init sh73a0_add_standard_devices_dt(void) -{ - /* clocks are setup late during boot in the case of DT */ -#ifndef CONFIG_COMMON_CLK - sh73a0_clock_init(); -#endif - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -} - #define RESCNT2 IOMEM(0xe6188020) static void sh73a0_restart(enum reboot_mode mode, const char *cmd) { diff --git a/arch/arm/mach-shmobile/sh73a0.h b/arch/arm/mach-shmobile/sh73a0.h index f037c64b14fc0767..5a80f18b4fa0665f 100644 --- a/arch/arm/mach-shmobile/sh73a0.h +++ b/arch/arm/mach-shmobile/sh73a0.h @@ -77,7 +77,6 @@ extern void sh73a0_map_io(void); extern void sh73a0_earlytimer_init(void); extern void sh73a0_add_early_devices(void); extern void sh73a0_add_standard_devices(void); -extern void sh73a0_add_standard_devices_dt(void); extern void sh73a0_clock_init(void); extern void sh73a0_pinmux_init(void); extern void sh73a0_pm_init(void);