linux/drivers/clk/sprd
Stephen Boyd f6c90df8e7 clk: sprd: 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: Chunyan Zhang <zhang.chunyan@linaro.org>
Cc: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190731193517.237136-8-sboyd@kernel.org
Acked-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Chunyan Zhang <zhang.chunyan@linaro.org>
2019-08-16 10:20:07 -07:00
..
common.c clk: sprd: Don't reference clk_init_data after registration 2019-08-16 10:20:07 -07:00
common.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
composite.c
composite.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
div.c
div.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
gate.c
gate.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mux.c
mux.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
pll.c
pll.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
sc9860-clk.c clk: sprd: Add check for return value of sprd_clk_regmap_init() 2019-06-27 15:08:29 -07:00