From: Sarah Sharp Date: Thu, 21 Oct 2010 18:14:54 +0000 (-0700) Subject: usb: Refactor irq enabling out of usb_add_hcd() X-Git-Tag: v2.6.39-rc1~472^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e0d1066f429ab44305e96fbff13f1793886277;p=pandora-kernel.git usb: Refactor irq enabling out of usb_add_hcd() Refactor out the code in usb_add_hcd() to request the IRQ line for the HCD. This will only need to be called once for the two xHCI roothubs, so it's easier to refactor it into a function, rather than wrapping the long if-else block into another if statement. Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed