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

From: Stephen Boyd
Date: Tue Aug 13 2019 - 20:25:17 EST


Quoting Stephen Boyd (2019-07-31 12:35:15)
> 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>
> ---

Applied to clk-next