summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-09 12:49:14 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 11:42:23 +0300
commit8b24e8d7177257279f842c8169672c1180e6c831 (patch)
tree59b02842fb4eac8777d516d27f08c69f958070cd /drivers/clocksource
parent8cbade52715634481cf4fd8ab9d4f091860724e2 (diff)
downloadlinux-8b24e8d7177257279f842c8169672c1180e6c831.tar.xz
clocksource/drivers/h8300_timer16: Remove unused macros
The macros are no longer used in the code, remove them. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/h8300_timer16.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/clocksource/h8300_timer16.c b/drivers/clocksource/h8300_timer16.c
index 1c9dd02efb0d..bc9289b2b00d 100644
--- a/drivers/clocksource/h8300_timer16.c
+++ b/drivers/clocksource/h8300_timer16.c
@@ -14,29 +14,11 @@
#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;