Skip to content

Commit 9999c5f

Browse files
thierryredingdlezcano
authored andcommitted
clocksource/drivers/tegra: Remove unused suspend/resume code
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]>
1 parent 0302637 commit 9999c5f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/clocksource/tegra20_timer.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -258,17 +258,3 @@ static void __init tegra20_init_rtc(struct device_node *np)
258258
register_persistent_clock(NULL, tegra_read_persistent_clock64);
259259
}
260260
CLOCKSOURCE_OF_DECLARE(tegra20_rtc, "nvidia,tegra20-rtc", tegra20_init_rtc);
261-
262-
#ifdef CONFIG_PM
263-
static u32 usec_config;
264-
265-
void tegra_timer_suspend(void)
266-
{
267-
usec_config = timer_readl(TIMERUS_USEC_CFG);
268-
}
269-
270-
void tegra_timer_resume(void)
271-
{
272-
timer_writel(usec_config, TIMERUS_USEC_CFG);
273-
}
274-
#endif

0 commit comments

Comments
 (0)