diff options
author | Théo Lebrun <[email protected]> | 2024-02-28 12:28:13 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2024-02-29 10:29:36 +0100 |
commit | 0b95fcd1f42f0ff5d0464e6a0f577b883fc20a4b (patch) | |
tree | 7f31a94b2b18fd1808eb5c4fe14e9fa375334686 /tools/perf/util/trace-event-scripting.c | |
parent | 9b82653dee91d459b650779a7d682dc1686eaba9 (diff) |
gpio: nomadik: replace of_find_*() by bus_find_device_by_of_node()
Avoid OF APIs in the GPIO subsystem. Here, replace
of_find_device_by_node() call by bus_find_device_by_of_node().
The new helper returns a struct device pointer. Store it in a new local
variable and use it down the road.
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions