mach-integrator: retire some timer macros
Subsystems (2)
PATCH 1/4 mach-integrator: retire some timer macros
From: Linus Walleij <[email protected]>
These macros are not used by anything since the switch to generic time in commit b9cedda230793cbf58eb012ddadedd490cc8e129 so let's retire them.
Cc Russell King <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- arch/arm/mach-integrator/integrator_ap.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
arch/arm/mach-integrator/integrator_ap.c +0 -12
@@ -322,18 +322,6 @@ static void __init ap_init(void)#define TIMER1_VA_BASE IO_ADDRESS(INTEGRATOR_TIMER1_BASE)#define TIMER2_VA_BASE IO_ADDRESS(INTEGRATOR_TIMER2_BASE) -/* -* How long is the timer interval? -*/ -#define TIMER_INTERVAL (TICKS_PER_uSEC * mSEC_10) -#if TIMER_INTERVAL >=0x100000 -#define TICKS2USECS (x) (256 * (x) / TICKS_PER_uSEC) -#elif TIMER_INTERVAL >=0x10000 -#define TICKS2USECS (x) (16 * (x) / TICKS_PER_uSEC) -#else -#define TICKS2USECS (x) ((x) / TICKS_PER_uSEC) -#endif -static unsigned long timer_reload;static void integrator_clocksource_init (u32 khz)
Signature · 1 line
1.7.3.2
PATCH 1/4 mach-integrator: retire some timer macros
Quoted 7 lines · Linus Walleij
From: Linus Walleij <[email protected]>
These macros are not used by anything since the switch to generic time in commit
b9cedda230793cbf58eb012ddadedd490cc8e129so let's retire them.Cc Russell King <[email protected]>
Acked-by Thomas Gleixner <[email protected]>