diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-03-12 11:33:30 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-06-21 14:20:07 -0700 |
commit | f5976286daa78b4981e0d37aaf30f358ec1d8791 (patch) | |
tree | c75b1ec2f251a740a29924ef578e741464fb1e2c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fd127374fcbbd5e5889e604a3c7f6220688ce6b7 (diff) |
clk: ti: Simplify ti_find_clock_provider()
Remove using for_each_of_allnodes_from() which is not safe to use
without holding the DT spinlock. In reality that probably doesn't
matter here. This is the only user in the whole tree, so it can be
made private once removed here. The "from" argument is always NULL, so
it can be dropped as well.
There's a slight change in behavior in matching the "clock-output-names"
value as the prior code would match if the node name matched the
beginning of the value and the comparision was case insensitive. Now
it must be an exact match.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250312163330.865573-2-robh@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions