Re: [PATCH v2 2/3] clk: Add __clk_hw_set_clk helper function

From: Javier Martinez Canillas
Date: Fri Feb 13 2015 - 02:28:28 EST


Hello Stephen,

On 02/12/2015 08:55 PM, Stephen Boyd wrote:
> On 02/12/15 05:58, Javier Martinez Canillas wrote:
>> After the clk API change to return a per-user clock instance, both the
>> struct clk_core and struct clk pointers from the hw clock needs to be
>> assigned to clock that share the same state.
>>
>> In the future the struct clk_core will be removed and this is going to
>
> s/clk_core/clk/?
>

hrmm, I thought that the plan was to eventually merge clk_core into clk_hw.

In any case, if I got it backwards then I guess that the commit message
could be fixed up by Mike when the patches are applied?

>> change again so to avoid having to change the assignments twice in all
>> the drivers, add a helper function to have an indirection level.
>>
>> Signed-off-by: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx>
>> ---
>
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
>

Thanks a lot for your review.

Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/