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 |
||
|---|---|---|
| .. | ||
| atlas6.h | ||
| clk-atlas6.c | ||
| clk-atlas7.c | ||
| clk-common.c | ||
| clk-prima2.c | ||
| Makefile | ||
| prima2.h | ||