summaryrefslogtreecommitdiff
path: root/include/linux/pci-acpi.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-02-21 04:16:07 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 17:47:33 (GMT)
commitae40582e9959cdb7bfe4b918be8e3d19f9511798 (patch)
treebb46eb3c3ba364b219fa1138011c98e82237604b /include/linux/pci-acpi.h
parent10a0ef39fbd1d484c2bbc1ffd83d57ecef209140 (diff)
downloadlinux-fsl-qoriq-ae40582e9959cdb7bfe4b918be8e3d19f9511798.tar.xz
PCI: pcie_portdriver: fix pcie_port_device_remove
pcie_port_device_remove currently calls the remove method of port drivers twice. Ouch! We are calling device_for_each_child multiple times for no apparent reason. So make it simple. Place put_device and device_unregister into remove_iter, and throw out the rest. Only call device_for_each_child once. The code is simpler and actually works! Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci-acpi.h')
0 files changed, 0 insertions, 0 deletions