USB: use "device number" instead of "address"
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 22 Feb 2011 14:53:41 +0000 (09:53 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Feb 2011 19:35:42 +0000 (11:35 -0800)
commit3b29b68b1627781b5eecb581d3b9d5f0043a72f2
tree8858863f5b43804c5c61b1cbe87a0a6f3c4ab1b3
parent10408bb9c4bf669f56f8de380f3ce18ef601a3d4
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>
drivers/usb/core/hub.c