diff options
author | Javier Carrasco <[email protected]> | 2024-10-20 14:56:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-10-29 04:28:33 +0100 |
commit | 7f02b8a5b602098f2901166e7e4d583acaed872a (patch) | |
tree | e1a72097fbf814eb3b2b1c07b00ab3c8c6b9b5c7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 623dae3e7084a9504e6dc4cf0cb83f305f413b4d (diff) |
usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes
The right function to release a fwnode acquired via
device_get_named_child_node() is fwnode_handle_put(), and not
fwnode_remove_software_node(), as no software node is being handled.
Replace the calls to fwnode_remove_software_node() with
fwnode_handle_put() in qcom_pmic_typec_probe() and
qcom_pmic_typec_remove().
Cc: [email protected]
Fixes: a4422ff22142 ("usb: typec: qcom: Add Qualcomm PMIC Type-C driver")
Suggested-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Javier Carrasco <[email protected]>
Acked-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/20241020-qcom_pmic_typec-fwnode_remove-v2-1-7054f3d2e215@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions