summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pxa.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-11-08 21:02:51 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-12-20 11:41:33 +0100
commitecfc5f2c00ea12fb6bc696d636b8c3a36ae057a9 (patch)
tree093194adc12ba2da2969833aaf9c6b1bed61795a /drivers/rtc/rtc-pxa.c
parent3ecdb000975bc37bb1f93bf9e6875628b4e00848 (diff)
downloadlwn-ecfc5f2c00ea12fb6bc696d636b8c3a36ae057a9.tar.gz
lwn-ecfc5f2c00ea12fb6bc696d636b8c3a36ae057a9.zip
rtc: pxa: drop unused #define TIMER_FREQ
It seems this symbol was unused since the driver was introduced in commit dc94436 (rtc: driver for pxa27x and pxa3xx SoC) back in 2009. As a by-product this patch makes the driver stop "using" the symbol CLOCK_TICK_RATE which is about to be removed very soon (for ARM). Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/rtc/rtc-pxa.c')
-rw-r--r--drivers/rtc/rtc-pxa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c
index a355f2b82bb8..cccbf9d89729 100644
--- a/drivers/rtc/rtc-pxa.c
+++ b/drivers/rtc/rtc-pxa.c
@@ -32,7 +32,6 @@
#include <mach/hardware.h>
-#define TIMER_FREQ CLOCK_TICK_RATE
#define RTC_DEF_DIVIDER (32768 - 1)
#define RTC_DEF_TRIM 0
#define MAXFREQ_PERIODIC 1000