linux-stable/drivers/clk/sirf
Stephen Boyd 89dc59fb26 clk: sirf: Don't reference clk_init_data after registration
[ Upstream commit af55dadfbc ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-10-07 18:56:45 +02:00
..
atlas6.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk-atlas6.c clk: make clk_init_data const 2017-11-01 23:25:51 -07:00
clk-atlas7.c clk: make clk_init_data const 2017-11-01 23:25:51 -07:00
clk-common.c clk: sirf: Don't reference clk_init_data after registration 2019-10-07 18:56:45 +02:00
clk-prima2.c clk: make clk_init_data const 2017-11-01 23:25:51 -07:00
Makefile
prima2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00