| Subject | Re: [PATCH 9/9] clk: Overwrite clk_hw::init with NULL during clk_register() | From | Stephen Boyd <> | Date | Tue, 13 Aug 2019 17:25:28 -0700 |
| |
Quoting Stephen Boyd (2019-07-31 12:35:17) > We don't want clk provider drivers to use the init structure after clk > registration time, but we leave a dangling reference to it by means of > clk_hw::init. Let's overwrite the member with NULL during clk_register() > so that this can't be used anymore after registration time. > > Cc: Bjorn Andersson <bjorn.andersson@linaro.org> > Cc: Doug Anderson <dianders@chromium.org> > Signed-off-by: Stephen Boyd <sboyd@kernel.org> > ---
Applied to clk-next
|