Commit 910327fa authored by Rajendra Nayak's avatar Rajendra Nayak
Browse files

clk: Add clk_hw_get_clk() helper API to be used by clk providers



As we move towards a cleaner split to have clock providers use clk_hw
for all clock operations, while consumers operate on the (per-user)
struct clk handles, we still have cases where in a clock provider
might want to call into high level clk apis which only operate on a
struct clk handle.
To facilitate such needs, have a clk_hw_get_clk() api which can be
used from within clock providers to get access to struct clk handles.

Signed-off-by: default avatarRajendra Nayak <rnayak@codeaurora.org>
parent 4c5c87bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment