From patchwork Wed Sep 18 17:53:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2908801 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 0C0B7BFF05 for ; Wed, 18 Sep 2013 19:03:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF11C203AF for ; Wed, 18 Sep 2013 19:03:52 +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 6BCB3203AC for ; Wed, 18 Sep 2013 19:03:51 +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 1VMM0x-0001jo-Ot; Wed, 18 Sep 2013 17:58:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMM01-0002dc-Nb; Wed, 18 Sep 2013 17:57:13 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMLy5-0002T5-3t for linux-arm-kernel@merlin.infradead.org; Wed, 18 Sep 2013 17:55:13 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMLy0-00089B-6b for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2013 17:55:09 +0000 Received: by mail-bk0-f49.google.com with SMTP id r7so2957436bkg.22 for ; Wed, 18 Sep 2013 10:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pJvmaZqgqx0qkmZnpWRx5dAbf2csvuObZkAXVZRA/50=; b=odGMYkjl4HuCY8H3B1JFZlW0zlIKSCXZIDhBUyT+kUkCA5nMz9mm6e0qaoaNwWRSxu Ki6pXCmUvj4emFZfnsKDUqtsxsyaC3jth31z+4g2cY70jgV+X0g5i7k3egnndoy7IEJK 3GBftvgku/MrrabgpU0vwwMq5anp5yzmpNcTniRbIGzSuHv1D+DZt+Db4ylnLmtPjC9k jjX0gIwqBhd8w+9Sg53mvdNzbvwCFbja8f6toKH0i/Me8OmhugNkp2tAAP2C7cjbJlKw fNYF5NgRB8d9JRAHeePoGtUQ9mEBNW2X98sIl+zBOh0yOdZZvQ/YMxeBxySOH12kNMex +klA== X-Received: by 10.204.69.12 with SMTP id x12mr7931255bki.12.1379526856873; Wed, 18 Sep 2013 10:54:16 -0700 (PDT) Received: from topkick.lan (dslc-082-083-247-252.pools.arcor-ip.net. [82.83.247.252]) by mx.google.com with ESMTPSA id l5sm1444294bko.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 10:54:15 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 26/26] ARM: vt8500: remove custom .init_time hook Date: Wed, 18 Sep 2013 19:53:59 +0200 Message-Id: <1379526839-14798-27-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1379526839-14798-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1379526839-14798-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130918_185508_268782_54DDF991 X-CRM114-Status: GOOD ( 11.04 ) X-Spam-Score: -2.7 (--) Cc: Russell King , Arnd Bergmann , linux-kernel@vger.kernel.org, Olof Johansson , 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.7 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 With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Tony Prisk Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-vt8500/vt8500.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-vt8500/vt8500.c b/arch/arm/mach-vt8500/vt8500.c index 5041563..4a73464 100644 --- a/arch/arm/mach-vt8500/vt8500.c +++ b/arch/arm/mach-vt8500/vt8500.c @@ -18,8 +18,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include #include #include #include @@ -74,12 +72,6 @@ static void vt8500_power_off(void) asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0)); } -static void __init vt8500_init_time(void) -{ - of_clk_init(NULL); - clocksource_of_init(); -} - void __init vt8500_init(void) { struct device_node *np; @@ -183,7 +175,6 @@ DT_MACHINE_START(WMT_DT, "VIA/Wondermedia SoC (Device Tree Support)") .dt_compat = vt8500_dt_compat, .map_io = vt8500_map_io, .init_machine = vt8500_init, - .init_time = vt8500_init_time, .restart = vt8500_restart, MACHINE_END