Thread (28 messages) flat view 28 messages, 2 authors, 2016-05-03

[PATCH v2 04/13] clkdev: Add clk_hw based registration APIs

From: Stephen Boyd <hidden>
Date: 2016-05-03 00:38:39
Also in: linux-clk, lkml

On 04/21, Stephen Boyd wrote:
Now that we have a clk registration API that doesn't return
struct clks, we need to have some way to hand out struct clks via
the clk_get() APIs that doesn't involve associating struct clk
pointers with a struct clk_lookup. Luckily, clkdev already
operates on struct clk_hw pointers, except for the registration
facing APIs where it converts struct clk pointers into struct
clk_hw pointers almost immediately.

Let's add clk_hw based registration APIs so that we can skip the
conversion step and provide a way for clk provider drivers to
operate exclusively on clk_hw structs. This way we clearly
split the API between consumers and providers.

Cc: Russell King <redacted>
Signed-off-by: Stephen Boyd <redacted>
---
Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help