diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-09-19 22:12:15 +0300 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-10-18 10:12:37 +0300 |
commit | d3570e3c5002d514582cad09d6892a4c78c3781b (patch) | |
tree | b3352ced7341c4f03f23884481898d1aa7685d06 /arch/arm/mach-pxa | |
parent | 6924089c488e9deab2ecc43a263a09a2d8a3f4cb (diff) | |
download | linux-d3570e3c5002d514582cad09d6892a4c78c3781b.tar.xz |
ARM: sa11x0/pxa: get rid of get_clock_tick_rate
The last user of this function is gone, so remove it. The clock API
should now be used to get clock rates.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 15 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 2a9297991d74..cb73a9723d0e 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c @@ -43,21 +43,6 @@ void clear_reset_status(unsigned int mask) } } -unsigned long get_clock_tick_rate(void) -{ - unsigned long clock_tick_rate; - - if (cpu_is_pxa25x()) - clock_tick_rate = 3686400; - else if (machine_is_mainstone()) - clock_tick_rate = 3249600; - else - clock_tick_rate = 3250000; - - return clock_tick_rate; -} -EXPORT_SYMBOL(get_clock_tick_rate); - /* * For non device-tree builds, keep legacy timer init */ diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index 8d63c211b22f..55064124ca4e 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h @@ -303,8 +303,6 @@ */ extern unsigned int get_memclk_frequency_10khz(void); -/* return the clock tick rate of the OS timer */ -extern unsigned long get_clock_tick_rate(void); #endif #endif /* _ASM_ARCH_HARDWARE_H */ |