Thread (2 messages) 2 messages, 2 authors, 2013-06-12

[PATCH v2 02/11] clocksource:global_timer: Add ARM global timer support.

From: Linus Walleij <hidden>
Date: 2013-06-11 20:13:04
Also in: linux-devicetree, linux-serial

On Tue, Jun 11, 2013 at 4:05 PM, Srinivas KANDAGATLA
[off-list ref] wrote:
Doing this is not adding any value to the driver, because
 1. Currently the driver only support DT boot paths, in my previous RFC
patches, Arnd suggested to get rid of the header as all platforms are DT
now.
In that case why do you have the separate global_timer_init()
at all? Just move that code into global_timer_of_register() and
also remove the #ifdef around CONFIG_OF and make the driver
depend on CONFIG_OF in Kconfig.

After this you realize that all that business with
clk_register_clkdev() / clk_get_sys() is just pure surplus
baggade, you just use of_clk_get() and that's it.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help