From: Sarah Sharp Date: Tue, 24 Jan 2012 21:53:18 +0000 (-0800) Subject: USB: Refactor hub remote wake handling. X-Git-Tag: v3.4-rc1~184^2~22^2~121^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714b07be3bbf94d2dc9838723d63fc827fdbef12;p=pandora-kernel.git USB: Refactor hub remote wake handling. Refactor the code to check for a remote wakeup on a port into its own function. Keep the behavior the same, and set connect_change in hub_events if the device disconnected on resume. Cleanup references to hdev->children[i-1] to use a common variable. Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed