Thread (34 messages) 34 messages, 4 authors, 2018-03-20

[PATCH v6 16/20] clk: add support for clocks provided by SCMI

From: sboyd@kernel.org (Stephen Boyd)
Date: 2018-03-16 23:02:53
Also in: linux-clk, linux-devicetree, lkml

Quoting Sudeep Holla (2018-02-23 08:23:46)
quoted hunk ↗ jump to hunk
diff --git a/drivers/clk/clk-scmi.c b/drivers/clk/clk-scmi.c
new file mode 100644
index 000000000000..1e4d7a57779b
--- /dev/null
+++ b/drivers/clk/clk-scmi.c
+                       hws[idx] = &sclk->hw;
+               }
+       }
+
+       return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data);
devm_of_clk_add_hw_provider?
+}
+
+static void scmi_clocks_remove(struct scmi_device *sdev)
+{
+       struct device *dev = &sdev->dev;
+       struct device_node *np = dev->of_node;
+
+       of_clk_del_provider(np);
+}
+
Drop?

You can keep my acked-by otherwise.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help