瀏覽代碼

clocksource/drivers/h8300_tpu: Remove unused macros

Some macros are unused, delete them.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Daniel Lezcano 9 年之前
父節點
當前提交
9471f1d954
共有 1 個文件被更改,包括 3 次插入10 次删除
  1. 3 10
      drivers/clocksource/h8300_tpu.c

+ 3 - 10
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;