diff options
author | Liang He <[email protected]> | 2022-09-15 17:22:09 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-22 15:52:29 +0200 |
commit | e45d7337dc0e4f7f1c2876e1b22c71a544ad12fd (patch) | |
tree | 567d821c9a965363e78199778da670c24ab1dc47 /scripts/gdb/linux/proc.py | |
parent | 7489ec86bcb3830d3bd161365da425fd28d6382f (diff) |
usb: typec: anx7411: Use of_get_child_by_name() instead of of_find_node_by_name()
In anx7411_typec_switch_probe(), we should call of_get_child_by_name()
instead of of_find_node_by_name() as of_find_xxx API will decrease the
refcount of the 'from' argument.
Fixes: fe6d8a9c8e64 ("usb: typec: anx7411: Add Analogix PD ANX7411 support")
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Liang He <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions