Thread (7 messages) 7 messages, 4 authors, 2016-03-03

Re: [PATCH v4 1/2] clk: add lpc18xx creg clk driver

From: Michael Turquette <mturquette@baylibre.com>
Date: 2016-03-02 23:01:59
Also in: linux-clk

Hi Joachim,

Quoting Joachim Eastwood (2016-02-24 14:04:19)
+static struct clk *clk_register_creg_clk(struct clk_creg_data *creg_clk,
+                                        const char **parent_name,
+                                        struct regmap *syscon)
+{
+       struct clk_init_data init;
+
+       init.ops = creg_clk->ops;
+       init.name = creg_clk->name;
+       init.parent_names = parent_name;
+       init.num_parents = 1;
+
+       creg_clk->reg = syscon;
+       creg_clk->hw.init = &init;
+
+       return clk_register(NULL, &creg_clk->hw);
This should be devm_clk_register with your struct device *dev passed
into it.

Otherwise this patch looks good for merge.

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