usb: split code locating ACPI companion into port and device
In preparation for handling embedded USB devices let's split usb_acpi_find_companion() into usb_acpi_find_companion_for_device() and usb_acpi_find_companion_for_port(). Signed-off-by: NDmitry Torokhov <dtor@chromium.org> Signed-off-by: NRajat Jain <rajatja@google.com> Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Tested-by: NSukumar Ghorai <sukumar.ghorai@intel.com> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
Showing
想要评论请 注册 或 登录