diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-08-15 19:00:18 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-16 20:20:15 +0300 |
commit | 1a4549c150e27dbc3aea762e879a88209df6d1a5 (patch) | |
tree | 8bde80ccbb1d8fd4279b381745c5a7c1676088d4 /drivers/rtc | |
parent | c8cec4f4af99288acefa2caea77b07e06a32641c (diff) | |
download | linux-1a4549c150e27dbc3aea762e879a88209df6d1a5.tar.xz |
clk: zx296718: 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: Jun Nie <jun.nie@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190815160020.183334-3-sboyd@kernel.org
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions