[RFC PATCH 1/5] usb: Register usb port's acpi power resources

2012-11-09 Thread Lan Tianyu
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 tianyu@intel.com --- drivers/usb/core/hub.c |3 ++- drivers/usb/core/usb-acpi.c | 23 +++

Re: [RFC PATCH 1/5] usb: Register usb port's acpi power resources

2012-11-09 Thread Alan Stern
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 =