]> Git Repo - linux.git/commitdiff
clocksource/drivers/tegra: Remove unused suspend/resume code
authorThierry Reding <[email protected]>
Thu, 28 Apr 2016 12:45:28 +0000 (14:45 +0200)
committerDaniel Lezcano <[email protected]>
Thu, 28 Apr 2016 13:09:08 +0000 (15:09 +0200)
The tegra_timer_suspend() and tegra_timer_resume() functions are never
used, so they can be removed.

Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
drivers/clocksource/tegra20_timer.c

index 38333aba3055b3e376bb163ad0517c348178ec7b..7b94ad2ab27861192f08601cd5cb787d94111806 100644 (file)
@@ -258,17 +258,3 @@ static void __init tegra20_init_rtc(struct device_node *np)
        register_persistent_clock(NULL, tegra_read_persistent_clock64);
 }
 CLOCKSOURCE_OF_DECLARE(tegra20_rtc, "nvidia,tegra20-rtc", tegra20_init_rtc);
-
-#ifdef CONFIG_PM
-static u32 usec_config;
-
-void tegra_timer_suspend(void)
-{
-       usec_config = timer_readl(TIMERUS_USEC_CFG);
-}
-
-void tegra_timer_resume(void)
-{
-       timer_writel(usec_config, TIMERUS_USEC_CFG);
-}
-#endif
This page took 0.054909 seconds and 4 git commands to generate.