Re: [PATCH 7/9] clk: sprd: Don't reference clk_init_data after registration

From: Baolin Wang
Date: Thu Aug 01 2019 - 03:41:52 EST


Hi,

On Thu, 1 Aug 2019 at 03:35, Stephen Boyd <sboyd@xxxxxxxxxx> wrote:
>
> A future patch is going to change semantics of clk_register() so that
> clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid
> referencing this member here so that we don't run into NULL pointer
> exceptions.
>
> Cc: Chunyan Zhang <zhang.chunyan@xxxxxxxxxx>
> Cc: Baolin Wang <baolin.wang@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> ---
>
> Please ack so I can take this through clk tree

Thanks.
Acked-by: Baolin Wang <baolin.wang@xxxxxxxxxx>

--
Baolin Wang
Best Regards