diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-07-31 22:35:15 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-16 20:20:07 +0300 |
commit | f6c90df8e7e33c3dc33d4d7471bc42c232b0510e (patch) | |
tree | 82023120e565ab850a5204fde6e634cb39f7ec8c /drivers/phy | |
parent | 09d4922d3c94832962c572808bac20dbee5004c5 (diff) | |
download | linux-f6c90df8e7e33c3dc33d4d7471bc42c232b0510e.tar.xz |
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