Thread (10 messages) 10 messages, 10 authors, 2016-06-24

Re: [PATCH V2 63/63] clocksources: Switch back to the clksrc table

From: Heiko Stübner <heiko@sntech.de>
Date: 2016-06-18 13:48:49
Also in: linux-amlogic, linux-mediatek, linux-mips, linux-rockchip, linux-samsung-soc, linux-tegra

Possibly related (same subject, not in this thread)

Am Donnerstag, 16. Juni 2016, 23:27:22 schrieb Daniel Lezcano:
All the clocksource drivers's init function are now converted to return
an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the
clksrc-of table.

Let's convert back the names:
 - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE
 - clksrc-of-ret              => clksrc-of

Signed-off-by: Daniel Lezcano <redacted>
---
 drivers/clocksource/rockchip_timer.c      |  8 ++++----
quoted hunk ↗ jump to hunk
diff --git
a/drivers/clocksource/rockchip_timer.c
b/drivers/clocksource/rockchip_timer.c index d10bdee..d10e7a5 100644
--- a/drivers/clocksource/rockchip_timer.c
+++ b/drivers/clocksource/rockchip_timer.c
@@ -200,7 +200,7 @@ static int __init rk3399_timer_init(struct device_node
*np) return rk_timer_init(np, TIMER_CONTROL_REG3399);
 }

-CLOCKSOURCE_OF_DECLARE_RET(rk3288_timer, "rockchip,rk3288-timer",
-			   rk3288_timer_init);
-CLOCKSOURCE_OF_DECLARE_RET(rk3399_timer, "rockchip,rk3399-timer",
-			   rk3399_timer_init);
+CLOCKSOURCE_OF_DECLARE(rk3288_timer, "rockchip,rk3288-timer",
+		       rk3288_timer_init);
+CLOCKSOURCE_OF_DECLARE(rk3399_timer, "rockchip,rk3399-timer",
+		       rk3399_timer_init);
for the Rockchip-part
Acked-by: Heiko Stuebner <heiko@sntech.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help