usb: core: let dynamic ids override static ids
authorBjørn Mork <bjorn@mork.no>
Sat, 11 Jan 2014 01:04:00 +0000 (02:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 22:24:24 +0000 (14:24 -0800)
commit31c6bf70955dda6ef92ab40624f289576cff97d3
treea36b167ec44a46fe50f01f9f08a0139697f0313b
parent823d12c95c666fa7ab7dad208d735f6bc6afabdc
usb: core: let dynamic ids override static ids

This modifies the probing order so that any matching
dynamic entry always will be used, even if the driver
has a matching static entry.

It is sometimes useful to dynamically update existing
device entries. With the new ability to set the dynamic
entry driver_info field, this can be used to test new
additions to class driver exception lists or proposed
changes to existing static per-device driver_info
entries.

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