USB: add read support to usb-serial/../new_id
authorBjørn Mork <bjorn@mork.no>
Sun, 13 May 2012 10:35:00 +0000 (12:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 16:30:40 +0000 (09:30 -0700)
commitef206f3f01d8cc0d363cfce7dc9ca11db429faa3
treef5767b00bf7c34ea96a1450e27b2a8dda68760d9
parente6bbcef0211ed75db1ca3017551a584aed4e00be
USB: add read support to usb-serial/../new_id

Keep the usb-serial support for dynamic IDs in sync with the usb
support.  This enables readout of dynamic device IDs for
usb-serial drivers.  Common code is exported from the usb core
system and reused by the usb-serial bus driver.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c
drivers/usb/serial/bus.c
include/linux/usb.h