mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
USB: ACPI: Replace acpi_bus_get_device()
Replace acpi_bus_get_device() that is going to be dropped with acpi_fetch_acpi_dev(). No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/1899393.PYKUYFuaPT@kreacher Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60c250a98d
commit
c067688ae2
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ usb_acpi_get_companion_for_port(struct usb_port *port_dev)
|
|||
if (!parent_handle)
|
||||
return NULL;
|
||||
|
||||
acpi_bus_get_device(parent_handle, &adev);
|
||||
adev = acpi_fetch_acpi_dev(parent_handle);
|
||||
port1 = port_dev->portnum;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue