Javier Carrasco 7f02b8a5b6 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: stable@vger.kernel.org
Fixes: a4422ff22142 ("usb: typec: qcom: Add Qualcomm PMIC Type-C driver")
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241020-qcom_pmic_typec-fwnode_remove-v2-1-7054f3d2e215@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-29 04:28:33 +01:00
..
2024-10-11 11:32:10 -07:00
2024-10-11 11:26:15 -07:00
2024-10-18 15:53:00 -07:00
2024-09-27 08:48:37 -07:00
2024-10-07 11:33:26 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-19 10:18:15 +02:00
2024-10-15 20:39:43 +00:00
2024-10-18 13:53:41 +10:00
2024-10-13 16:35:20 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-10-19 10:18:03 -07:00
2024-09-29 09:22:34 -07:00
2024-10-20 13:10:44 -07:00
2024-10-11 11:23:21 -07:00
2024-09-26 08:43:17 -07:00
2024-10-18 15:53:00 -07:00
2024-09-23 14:05:10 -07:00
2024-10-06 11:11:01 -07:00
2024-09-26 12:00:25 -07:00
2024-10-19 12:52:19 -07:00
2024-10-11 10:03:13 +00:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-19 12:52:19 -07:00
2024-09-11 16:02:54 +02:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00