diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-07-31 12:35:13 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-16 10:20:07 -0700 |
commit | af55dadfbce35b4f4c6247244ce3e44b2e242b84 (patch) | |
tree | 66b0fc762cb7093e4f6caf8baeabcf009c45dcc8 /drivers/clk/socfpga | |
parent | af884a5dfdef06644bdbd7d54ca865616f24b256 (diff) | |
download | linux-af55dadfbce35b4f4c6247244ce3e44b2e242b84.tar.bz2 |
clk: sirf: 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: Guo Zeng <Guo.Zeng@csr.com>
Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190731193517.237136-6-sboyd@kernel.org
Diffstat (limited to 'drivers/clk/socfpga')
0 files changed, 0 insertions, 0 deletions