linux/drivers/clk/mvebu
Rob Herring bd73d1fd63 clk: mvebu: Iterate over possible CPUs instead of DT CPU nodes
Rework iterating over DT CPU nodes to iterate over possible CPUs
instead. There's no need to walk the DT CPU nodes again. Possible CPUs
is equal to the number of CPUs defined in the DT. Using the "reg" value
for an array index is fragile as it assumes "reg" is 0-N which often is
not the case.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230327-mvebu-clk-fixes-v2-3-8333729ee45d@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-06-20 11:56:28 -07:00
..
ap-cpu-clk.c clk: mvebu: Use of_get_cpu_hwid() to read CPU ID 2023-06-20 11:56:27 -07:00
ap806-system-controller.c
armada_ap_cp_helper.c clk: mvebu: Use of_address_to_resource() 2023-06-14 18:26:12 -07:00
armada_ap_cp_helper.h
armada-37xx-periph.c clk: mvebu: Convert to platform remove callback returning void 2023-03-28 19:31:44 -07:00
armada-37xx-tbg.c clk: mvebu: Convert to platform remove callback returning void 2023-03-28 19:31:44 -07:00
armada-37xx-xtal.c clk: mvebu: Convert to platform remove callback returning void 2023-03-28 19:31:44 -07:00
armada-38x.c
armada-39x.c
armada-370.c
armada-375.c
armada-xp.c
clk-corediv.c
clk-cpu.c clk: mvebu: Iterate over possible CPUs instead of DT CPU nodes 2023-06-20 11:56:28 -07:00
common.c
common.h
cp110-system-controller.c
dove-divider.c
dove-divider.h
dove.c
Kconfig
kirkwood.c
Makefile
mv98dx3236.c
orion.c