Re: [PATCH 4.19 018/106] clk: actions: Dont reference clk_init_data after registration

2019-10-08 Thread Pavel Machek
On Sun 2019-10-06 19:20:24, Greg Kroah-Hartman wrote: > From: Stephen Boyd > > [ Upstream commit cf9ec1fc6d7cceb73e7f1efd079d2eae173fdf57 ] > > 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 >

[PATCH 4.19 018/106] clk: actions: Dont reference clk_init_data after registration

2019-10-06 Thread Greg Kroah-Hartman
From: Stephen Boyd [ Upstream commit cf9ec1fc6d7cceb73e7f1efd079d2eae173fdf57 ] 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