]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clocksource/drivers/h8300_timer16: Remove unused macros
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 9 Nov 2015 09:49:14 +0000 (10:49 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:42:23 +0000 (09:42 +0100)
The macros are no longer used in the code, remove them.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/h8300_timer16.c

index 1c9dd02efb0d3aaabccc4ce897d36c724008e9a6..bc9289b2b00d75d585222f6d7a0ffa14b074e27f 100644 (file)
 #include <linux/of_irq.h>
 
 #define TSTR   0
-#define TSNC   1
-#define TMDR   2
-#define TOLR   3
 #define TISRA  4
-#define TISRB  5
 #define TISRC  6
 
 #define TCR    0
-#define TIOR   1
 #define TCNT   2
-#define GRA    4
-#define GRB    6
-
-#define FLAG_REPROGRAM (1 << 0)
-#define FLAG_SKIPEVENT (1 << 1)
-#define FLAG_IRQCONTEXT (1 << 2)
-#define FLAG_STARTED (1 << 3)
-
-#define ONESHOT  0
-#define PERIODIC 1
-
-#define RELATIVE 0
-#define ABSOLUTE 1
 
 struct timer16_priv {
        struct clocksource cs;