diff options
author | Philipp Zabel <[email protected]> | 2024-01-25 12:29:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 16:44:28 -0800 |
commit | 44481a0103443e465ea562b3d5f908051bfa932a (patch) | |
tree | 663645b743c4a70452541dac4a56330d1ba8a1d1 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 41fe9ea1696c85fdef1b0ea3f9184edb9ab7faba (diff) |
usb: dwc3-of-simple: Stop using of_reset_control_array_get() directly
Use of_reset_control_array_get_optional_exclusive() instead, it is
implemented as:
static inline struct reset_control *
of_reset_control_array_get_optional_exclusive(struct device_node *node)
{
return of_reset_control_array_get(node, false, true, true);
}
This makes the code easier to understand and removes the last remaining
direct use of of_reset_control_array_get(). No functional changes.
This change was made possible by commit f4cc91ddd856 ("usb: dwc3:
of-simple: remove Amlogic GXL and AXG compatibles"), which made the
parameters passed to of_reset_control_array_get() constant.
Signed-off-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/20240125-dwc3-of-simple-reset-control-array-fix-v2-1-1ab6b52cad21@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions