diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-08-15 09:00:17 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-16 10:20:15 -0700 |
commit | c8cec4f4af99288acefa2caea77b07e06a32641c (patch) | |
tree | 913ac90151adc01e5053823dd29674b91edb585b /drivers/clk/zte | |
parent | 1bc5557a3bffbac6c37c52c0f65ef78bfa147b85 (diff) | |
download | linux-c8cec4f4af99288acefa2caea77b07e06a32641c.tar.gz |
clk: milbeaut: 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: Sugaya Taichi <sugaya.taichi@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190815160020.183334-2-sboyd@kernel.org
Diffstat (limited to 'drivers/clk/zte')
0 files changed, 0 insertions, 0 deletions