From: Lan Tianyu Date: Wed, 5 Sep 2012 05:44:33 +0000 (+0800) Subject: usb/acpi: Bind ACPI node to USB port, not usb_device. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d557542421da643358201664903e67fd01dfca1a;p=pandora-kernel.git usb/acpi: Bind ACPI node to USB port, not usb_device. In the ACPI DSDT table, only usb root hub and usb ports are ACPI device nodes. Originally, we bound the usb port's ACPI node to the usb device attached to the port. However, we want to access those ACPI port methods when the port is empty, and there's no usb_device associated with that port. Now that the usb port is a real device, we can bind the port's ACPI node to struct usb_port instead. Signed-off-by: Lan Tianyu Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed