diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-07-31 12:35:15 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-16 10:20:07 -0700 |
commit | f6c90df8e7e33c3dc33d4d7471bc42c232b0510e (patch) | |
tree | 82023120e565ab850a5204fde6e634cb39f7ec8c /drivers/phy | |
parent | clk: socfpga: Don't reference clk_init_data after registration (diff) | |
download | linux-dev-f6c90df8e7e33c3dc33d4d7471bc42c232b0510e.tar.xz linux-dev-f6c90df8e7e33c3dc33d4d7471bc42c232b0510e.zip |
clk: sprd: Don't reference clk_init_data after registration
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@linaro.org>
Cc: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190731193517.237136-8-sboyd@kernel.org
Acked-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions