Message ID | 1899393.PYKUYFuaPT@kreacher (mailing list archive) |
---|---|
State | Accepted |
Commit | c067688ae204ae4f0ad5044fe7345350fc6cd1b4 |
Headers | show |
Series | USB: ACPI: Replace acpi_bus_get_device() | expand |
Index: linux-pm/drivers/usb/core/usb-acpi.c =================================================================== --- linux-pm.orig/drivers/usb/core/usb-acpi.c +++ linux-pm/drivers/usb/core/usb-acpi.c @@ -166,7 +166,7 @@ usb_acpi_get_companion_for_port(struct u if (!parent_handle) return NULL; - acpi_bus_get_device(parent_handle, &adev); + adev = acpi_fetch_acpi_dev(parent_handle); port1 = port_dev->portnum; }