diff options
| author | 2022-09-15 17:22:09 +0800 | |
|---|---|---|
| committer | 2022-09-22 15:52:29 +0200 | |
| commit | e45d7337dc0e4f7f1c2876e1b22c71a544ad12fd (patch) | |
| tree | 567d821c9a965363e78199778da670c24ab1dc47 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | usb: gadget: add _init/__exit annotations to module init/exit funcs (diff) | |
| download | linux-dev-e45d7337dc0e4f7f1c2876e1b22c71a544ad12fd.tar.xz linux-dev-e45d7337dc0e4f7f1c2876e1b22c71a544ad12fd.zip | |
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 <heikki.krogerus@linux.intel.com>
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220915092209.4009273-1-windhl@126.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
