usb: core: switch bus numbering to using idr
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 Jan 2016 19:30:30 +0000 (20:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:26:30 +0000 (13:26 -0800)
commit5363de75307e333d89df7531f9dd8310d973ecdb
tree5c90ec1dbcf6d1626984ec6306db7d73ee8dd3ab
parentd78540419866887345cec480016b0f87f6a5aca2
usb: core: switch bus numbering to using idr

USB bus numbering is based on directly dealing with bitmaps and
defines a separate list of busses.
This can be simplified and unified by using existing idr functionality.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devices.c
drivers/usb/core/hcd.c
drivers/usb/core/usb.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/mon/mon_main.c
include/linux/usb.h
include/linux/usb/hcd.h