]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
clocksource: Remove obsolete CLOCKSOURCE_OF_DECLARE
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 24 Sep 2018 04:08:07 +0000 (06:08 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 3 Oct 2018 12:37:02 +0000 (14:37 +0200)
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

index 308918928767ad5921b17b6fe16953dfdc0f6d93..4c58c1e64080e9d114ae3537fd34697463572bb1 100644 (file)
@@ -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