aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2023-02-06 13:43:43 +0000
committerGreg Kroah-Hartman <[email protected]>2023-02-06 19:06:58 +0100
commitc5d264d4b527c96ae8903376a4b195df47b05203 (patch)
tree583169312beaf4d2b4ef7d50dfb6857f86ecb523 /tools/perf/util/scripting-engines/trace-event-python.c
parent7390609b0121a1b982c5ecdfcd72dc328e5784ee (diff)
of: base: add of_parse_phandle_with_optional_args()
Add a new variant of the of_parse_phandle_with_args() which treats the cells name as optional. If it's missing, it is assumed that the phandle has no arguments. Up until now, a nvmem node didn't have any arguments, so all the device trees haven't any '#*-cells' property. But there is a need for an additional argument for the phandle, for which we need a '#*-cells' property. Therefore, we need to support nvmem nodes with and without this property. Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions