summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-02-22 09:53:41 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-25 11:35:42 -0800
commit3b29b68b1627781b5eecb581d3b9d5f0043a72f2 (patch)
tree8858863f5b43804c5c61b1cbe87a0a6f3c4ab1b3 /drivers/usb/gadget
parent10408bb9c4bf669f56f8de380f3ce18ef601a3d4 (diff)
USB: use "device number" instead of "address"
The USB stack historically has conflated device numbers (i.e., the value of udev->devnum) with device addresses. This is understandable, because until recently the two values were always the same. But with USB-3.0 they aren't the same, so we should start calling these things by their correct names. This patch (as1449b) changes many of the references to "address" in the hub driver to "device number" or "devnum". The patch also removes some unnecessary or misleading comments. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Luben Tuikov <ltuikov@yahoo.com> Reviewed-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions