usb: core: allow a reference device for new_id
authorWolfram Sang <wsa@the-dreams.de>
Fri, 10 Jan 2014 18:36:42 +0000 (19:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Jan 2014 00:54:35 +0000 (16:54 -0800)
commit2fc82c2de604deabb86b0558be0a301bb2209a19
tree968d174a545222b71a3e43d44ab10b21fb0c5ac4
parentc63fe8f6ca3669f1d120ff70523e2911b9966574
usb: core: allow a reference device for new_id

Often, usb drivers need some driver_info to get a device to work. To
have access to driver_info when using new_id, allow to pass a reference
vendor:product tuple from which new_id will inherit driver_info.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-usb
drivers/usb/core/driver.c
drivers/usb/serial/bus.c
include/linux/usb.h