Thread (32 messages) 32 messages, 6 authors, 2018-12-28

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

From: "Sugaya, Taichi" <sugaya.taichi@socionext.com>
Date: 2018-12-26 01:35:32
Also in: linux-clk, linux-devicetree, linux-serial, lkml

Hi

On 2018/11/30 17:31, Stephen Boyd wrote:
quoted
+       init.num_parents = parents;
+       init.parent_names = parent_names;
+
+       mcm->cname = clk_name;
+       mcm->parent = 0;
+       mcm->hw.init = &init;
+
+       clk = clk_register(NULL, &mcm->hw);
+       if (IS_ERR(clk))
+               goto err_clk;
+
+       of_clk_add_provider(node, of_clk_src_simple_get, clk);
+       return;
+
+err_clk:
+       kfree(mcm);
+err_mcm:
+       kfree(parent_names);
+}
+CLK_OF_DECLARE(m10v_clk_mux, "socionext,milbeaut-m10v-clk-mux",
+                       m10v_clk_mux_setup);
Any chance you can use a platform driver?
Excuse me to re-ask you.
Why do you recommend to use a platform driver? Is that current fad?

Thanks
Sugaya Taichi


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help