diff mbox series

[2/2] clocksource: Remove obsolete CLOCKSOURCE_OF_DECLARE

Message ID 1537762569-18657-2-git-send-email-daniel.lezcano@linaro.org
State Superseded
Headers show
Series [1/2] clocksource/drivers: Unify the names to timer-* format | expand

Commit Message

Daniel Lezcano Sept. 24, 2018, 4:15 a.m. UTC
The macro CLOCKSOURCE_OF_DECLARE was renamed more TIMER_OF_DECLARE, and we
kept an alias CLOCKSOURCE_OF_DECLARE in order to smooth the transition for
drivers.

This change was done 1.5 year ago, we can reasonably remove this backward
compatible macro as it is no longer used anywhere.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 include/linux/clocksource.h | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 3089189..4c58c1e 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -257,9 +257,6 @@  extern int clocksource_i8253_init(void);
 #define TIMER_OF_DECLARE(name, compat, fn) \
 	OF_DECLARE_1_RET(timer, name, compat, fn)
 
-#define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \
-	TIMER_OF_DECLARE(name, compat, fn)
-
 #ifdef CONFIG_TIMER_PROBE
 extern void timer_probe(void);
 #else