Re: [PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-11-19 Thread Tomeu Vizoso
On 14 November 2014 08:06, Stephen Boyd wrote: > On 10/30, Tomeu Vizoso wrote: >> Moves clock state to struct clk_core, but takes care to change as little API >> as >> possible. >> >> struct clk_hw still has a pointer to a struct clk, which is the >> implementation's per-user clk instance, for ba

Re: [PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-11-13 Thread Stephen Boyd
On 10/30, Tomeu Vizoso wrote: > Moves clock state to struct clk_core, but takes care to change as little API > as > possible. > > struct clk_hw still has a pointer to a struct clk, which is the > implementation's per-user clk instance, for backwards compatibility. > > The struct clk that clk_get

[PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-10-30 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller, bu