Re: [RESEND PATCH v2 07/16] clk: simplify clk_core_get_parent_by_index()

From: Stephen Boyd
Date: Mon Feb 01 2016 - 20:07:53 EST


On 12/28, Masahiro Yamada wrote:
> Drop the "if (!core->parents)" case and refactor the function a bit
> because core->parents is always allocated. (Strictly speaking, it is
> ZERO_SIZE_PTR if core->num_parents == 0, but such a case is omitted
> by the if-conditional above.)
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---

Applied to clk-next

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project