Skip to content

Commit 65f4d7d

Browse files
Zhen Leidlezcano
authored andcommitted
clocksource/drivers/sp804: Remove unused sp804_timer_disable() and timer-sp804.h
Since commit 7484c72 ("ARM: realview: delete the RealView board files") and commit 16956fe ("ARM: versatile: switch to DT only booting and remove legacy code"), there's no one to use the functions defined or declared in include/clocksource/timer-sp804.h. Delete it. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200918132237.3552-3-thunder.leizhen@huawei.com
1 parent 7d19d52 commit 65f4d7d

2 files changed

Lines changed: 0 additions & 36 deletions

File tree

drivers/clocksource/timer-sp804.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
#include <linux/of_irq.h>
1919
#include <linux/sched_clock.h>
2020

21-
#include <clocksource/timer-sp804.h>
22-
2321
#include "timer-sp.h"
2422

2523
static long __init sp804_get_clock_rate(struct clk *clk, const char *name)
@@ -67,11 +65,6 @@ static u64 notrace sp804_read(void)
6765
return ~readl_relaxed(sched_clock_base + TIMER_VALUE);
6866
}
6967

70-
void __init sp804_timer_disable(void __iomem *base)
71-
{
72-
writel(0, base + TIMER_CTRL);
73-
}
74-
7568
int __init __sp804_clocksource_and_sched_clock_init(void __iomem *base,
7669
const char *name,
7770
struct clk *clk,

include/clocksource/timer-sp804.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)