diff options
author | Matt Redfearn <matt.redfearn@imgtec.com> | 2017-04-19 08:26:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-04-20 08:56:59 -0400 |
commit | 58bb100a9de10329ca0d63484e76f27c257e9a2e (patch) | |
tree | 3d3a2b2df461c876e83f88866dd3c6da726134eb /drivers/clocksource/mips-gic-timer.c | |
parent | 4287adec7212d48fb878a45400fd7e11a198462c (diff) |
Clocksource/mips-gic: Remove redundant non devicetree init
Malta was the only platform probing this driver from platform code
without using device tree. With that code removed, gic_clocksource_init
is redundant so remove it.
Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Link: http://lkml.kernel.org/r/1492604806-23420-2-git-send-email-matt.redfearn@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource/mips-gic-timer.c')
-rw-r--r-- | drivers/clocksource/mips-gic-timer.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c index b6ad9c0a7c55..3f52ee219923 100644 --- a/drivers/clocksource/mips-gic-timer.c +++ b/drivers/clocksource/mips-gic-timer.c | |||
@@ -154,19 +154,6 @@ static int __init __gic_clocksource_init(void) | |||
154 | return ret; | 154 | return ret; |
155 | } | 155 | } |
156 | 156 | ||
157 | void __init gic_clocksource_init(unsigned int frequency) | ||
158 | { | ||
159 | gic_frequency = frequency; | ||
160 | gic_timer_irq = MIPS_GIC_IRQ_BASE + | ||
161 | GIC_LOCAL_TO_HWIRQ(GIC_LOCAL_INT_COMPARE); | ||
162 | |||
163 | __gic_clocksource_init(); | ||
164 | gic_clockevent_init(); | ||
165 | |||
166 | /* And finally start the counter */ | ||
167 | gic_start_count(); | ||
168 | } | ||
169 | |||
170 | static int __init gic_clocksource_of_init(struct device_node *node) | 157 | static int __init gic_clocksource_of_init(struct device_node *node) |
171 | { | 158 | { |
172 | struct clk *clk; | 159 | struct clk *clk; |