usb: Refactor irq enabling out of usb_add_hcd()
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 21 Oct 2010 18:14:54 +0000 (11:14 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:07:14 +0000 (18:07 -0700)
commit23e0d1066f429ab44305e96fbff13f1793886277
tree39421fefa903781b6f219b041bfbaec783027ddd
parent8766c815607e572556b04075d4545330123c4f27
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 <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hcd.c
This page took 0.038885 seconds and 5 git commands to generate.