mirror_ubuntu-kernels/drivers/clk/sprd
Rob Herring d02fddf24f clk: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230310144701.1541504-1-robh@kernel.org
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-03-14 17:35:38 -07:00
..
common.c clk: Use of_property_present() for testing DT property presence 2023-03-14 17:35:38 -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: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
div.c
div.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
gate.c clk: sprd: check its parent status before reading gate clock 2020-05-26 23:41:14 -07:00
gate.h clk: sprd: check its parent status before reading gate clock 2020-05-26 23:41:14 -07:00
Kconfig clk: sprd: Add dependency for SPRD_UMS512_CLK 2023-02-10 16:13:48 -08:00
Makefile clk: sprd: Add clocks support for UMS512 2022-09-30 12:22:19 -07:00
mux.c
mux.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
pll.c clk: sprd: return correct type of value for _sprd_pll_recalc_rate 2020-05-26 20:14:56 -07:00
pll.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -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
sc9863a-clk.c This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
ums512-clk.c clk: sprd: Add clocks support for UMS512 2022-09-30 12:22:19 -07:00