projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c09b7d
)
clocksource/drivers/h8300_tpu: Remove unused macros
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Sat, 7 Nov 2015 13:18:51 +0000
(14:18 +0100)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:42:06 +0000
(09:42 +0100)
Some macros are unused, delete them.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/h8300_tpu.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/h8300_tpu.c
b/drivers/clocksource/h8300_tpu.c
index
ed0b493
..
576dae6
100644
(file)
--- 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;