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

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

From: Patrice Chotard <hidden>
Date: 2016-06-20 07:43:21
Also in: linux-amlogic, linux-mediatek, linux-mips, linux-rockchip, linux-samsung-soc, linux-tegra

Possibly related (same subject, not in this thread)


On 06/16/2016 11:27 PM, Daniel Lezcano wrote:
quoted hunk ↗ jump to hunk
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


  drivers/clocksource/clksrc_st_lpc.c       |  2 +-
diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c
index c9022a9..03cc492 100644
--- a/drivers/clocksource/clksrc_st_lpc.c
+++ b/drivers/clocksource/clksrc_st_lpc.c
@@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np)
  
  	return ret;
  }
-CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register);
+CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register);

For STi :

Acked-by: Patrice Chotard <redacted>

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