Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751938Ab3HTCF5 (ORCPT ); Mon, 19 Aug 2013 22:05:57 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:33190 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850Ab3HTCEk (ORCPT ); Mon, 19 Aug 2013 22:04:40 -0400 From: Sebastian Hesselbarth To: Sebastian Hesselbarth Cc: Russell King , Arnd Bergmann , Stephen Warren , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC 14/17] ARM: tegra: remove .init_time hook to clocksource_of_init Date: Tue, 20 Aug 2013 04:04:28 +0200 Message-Id: <1376964271-22715-15-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1376964271-22715-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1376964271-22715-1-git-send-email-sebastian.hesselbarth@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 48 clocksource_of_init is called on NULL .init_time hook automatically. Just get rid of it. Signed-off-by: Sebastian Hesselbarth --- Notes: - tegra calls of_clk_init(NULL) in .init_irq already. With of_clk_init checking for multiple calls with NULL argument, it is safe to remove the custom .init_time hook. I have added mach-tegra to make maintainers aware of this RFC. Cc: Russell King Cc: Arnd Bergmann Cc: Stephen Warren Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-tegra/tegra.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index 5b86055..28563d9 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -16,7 +16,6 @@ * */ -#include #include #include #include @@ -119,7 +118,6 @@ DT_MACHINE_START(TEGRA_DT, "NVIDIA Tegra SoC (Flattened Device Tree)") .smp = smp_ops(tegra_smp_ops), .init_early = tegra_init_early, .init_irq = tegra_dt_init_irq, - .init_time = clocksource_of_init, .init_machine = tegra_dt_init, .init_late = tegra_dt_init_late, .restart = tegra_assert_system_reset, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/