diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2025-07-21 17:36:08 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-08-27 14:32:11 -0500 |
commit | e24bbbe0780262a21fc8619fe99078a5b8d64b18 (patch) | |
tree | c24fac0c81519a7e559a146003c373cec59a2931 /scripts/gdb/linux/config.py | |
parent | 39f9be6aba3ae4d6fdd4b8554f1184d054d7a713 (diff) |
PCI/pwrctrl: Fix device and OF node leak at bus scan
Make sure to drop the references to the pwrctrl OF node and device taken by
of_pci_find_child_device() and of_find_device_by_node() respectively when
scanning the bus.
Fixes: 957f40d039a9 ("PCI/pwrctrl: Move creation of pwrctrl devices to pci_scan_device()")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Cc: stable@vger.kernel.org # v6.15
Link: https://patch.msgid.link/20250721153609.8611-3-johan+linaro@kernel.org
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions