aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sun6i.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-08-15 09:00:18 -0700
committerStephen Boyd <sboyd@kernel.org>2019-08-16 10:20:15 -0700
commit1a4549c150e27dbc3aea762e879a88209df6d1a5 (patch)
tree8bde80ccbb1d8fd4279b381745c5a7c1676088d4 /drivers/rtc/rtc-sun6i.c
parentclk: milbeaut: Don't reference clk_init_data after registration (diff)
downloadlinux-dev-1a4549c150e27dbc3aea762e879a88209df6d1a5.tar.xz
linux-dev-1a4549c150e27dbc3aea762e879a88209df6d1a5.zip
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/rtc-sun6i.c')
0 files changed, 0 insertions, 0 deletions