Re: [PATCH v2 02/13] clk: Add {devm_}clk_hw_{register,unregister}() APIs

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > We've largely split the clk consumer and provider APIs along > struct clk and struct clk_hw, but clk_register() still returns a > struct clk pointer for each struct clk_hw that's registered. > Eventually we'd like to only allocate struct clks when there's a > user,

Re: [PATCH v2 02/13] clk: Add {devm_}clk_hw_{register,unregister}() APIs

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > We've largely split the clk consumer and provider APIs along > struct clk and struct clk_hw, but clk_register() still returns a > struct clk pointer for each struct clk_hw that's registered. > Eventually we'd like to only allocate struct clks when there's a > user,

[PATCH v2 02/13] clk: Add {devm_}clk_hw_{register,unregister}() APIs

2016-04-21 Thread Stephen Boyd
We've largely split the clk consumer and provider APIs along struct clk and struct clk_hw, but clk_register() still returns a struct clk pointer for each struct clk_hw that's registered. Eventually we'd like to only allocate struct clks when there's a user, because struct clk is per-user now, so

[PATCH v2 02/13] clk: Add {devm_}clk_hw_{register,unregister}() APIs

2016-04-21 Thread Stephen Boyd
We've largely split the clk consumer and provider APIs along struct clk and struct clk_hw, but clk_register() still returns a struct clk pointer for each struct clk_hw that's registered. Eventually we'd like to only allocate struct clks when there's a user, because struct clk is per-user now, so