summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/musb_gadget.c
diff options
context:
space:
mode:
authorhuajun li <huajun.li.lee@gmail.com>2011-05-03 17:11:00 +0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-05-12 23:54:22 +0400
commita0885924326f79e157847010a9aaf49b058b30dc (patch)
treea6ce2a417d3b9e921cdd0e5bc56ad1637e8500ba /drivers/usb/musb/musb_gadget.c
parent3610ea5397b80822e417aaa0e706fd803fb05680 (diff)
downloadlinux-a0885924326f79e157847010a9aaf49b058b30dc.tar.xz
xhci: move the common code to a function to get max ports and port array
There are several functions using same code to get max ports and port array, this patch moves the common code to a function in order to reuse them easily. Signed-off-by: Huajun Li <huajun.li.lee@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions