diff options
author | Stephen Boyd <[email protected]> | 2019-07-31 12:35:15 -0700 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2019-08-16 10:20:07 -0700 |
commit | f6c90df8e7e33c3dc33d4d7471bc42c232b0510e (patch) | |
tree | 82023120e565ab850a5204fde6e634cb39f7ec8c /lib/string_helpers.c | |
parent | 09d4922d3c94832962c572808bac20dbee5004c5 (diff) |
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 <[email protected]>
Cc: Baolin Wang <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Acked-by: Baolin Wang <[email protected]>
Acked-by: Chunyan Zhang <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions