summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-02-22 15:53:41 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-25 20:35:42 +0100
commit3b29b68b1627781b5eecb581d3b9d5f0043a72f2 (patch)
tree8858863f5b43804c5c61b1cbe87a0a6f3c4ab1b3 /drivers/usb/gadget
parentUSB: f_phonet: avoid pskb_pull(), fix OOPS with CONFIG_HIGHMEM (diff)
downloadlinux-3b29b68b1627781b5eecb581d3b9d5f0043a72f2.tar.xz
linux-3b29b68b1627781b5eecb581d3b9d5f0043a72f2.zip
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