On Fri, 9 Nov 2012, Lan Tianyu wrote:
> This patch is to register usb port's acpi power resources. Create
> link between usb port device and its acpi power resource.
> +int usb_acpi_unregister_power_resources(struct usb_device *udev)
> +{
> + acpi_handle port_handle = DEVICE_ACPI_HANDLE(&udev
This patch is to register usb port's acpi power resources. Create
link between usb port device and its acpi power resource.
Signed-off-by: Lan Tianyu
---
drivers/usb/core/hub.c |3 ++-
drivers/usb/core/usb-acpi.c | 23 +++
drivers/usb/core/usb.h |6 ++