summaryrefslogtreecommitdiff
path: root/drivers/clocksource/h8300_tpu.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-07 14:18:51 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:42:06 +0100
commit9471f1d95442e35c04d429378fb01a962ebfba55 (patch)
tree9117b1a8fa8395c742232de99b55132d0dd46699 /drivers/clocksource/h8300_tpu.c
parent8c09b7d6ba91ece6d10c7703f5cb201ff3265771 (diff)
downloadlinux-9471f1d95442e35c04d429378fb01a962ebfba55.tar.gz
clocksource/drivers/h8300_tpu: Remove unused macros
Some macros are unused, delete them. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/h8300_tpu.c')
-rw-r--r--drivers/clocksource/h8300_tpu.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/drivers/clocksource/h8300_tpu.c b/drivers/clocksource/h8300_tpu.c
index ed0b49344577..576dae6f2a91 100644
--- a/drivers/clocksource/h8300_tpu.c
+++ b/drivers/clocksource/h8300_tpu.c
@@ -20,16 +20,9 @@
#include <linux/of_address.h>
#include <linux/of_irq.h>
-#define TCR 0
-#define TMDR 1
-#define TIOR 2
-#define TER 4
-#define TSR 5
-#define TCNT 6
-#define TGRA 8
-#define TGRB 10
-#define TGRC 12
-#define TGRD 14
+#define TCR 0x0
+#define TSR 0x5
+#define TCNT 0x6
struct tpu_priv {
struct clocksource cs;