USB: Implement usb_device_match_id()
authorBastien Nocera <hadess@hadess.net>
Wed, 16 Oct 2019 09:39:30 +0000 (11:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2020 19:01:55 +0000 (11:01 -0800)
commitaeebf2b5466506546c47ca68477d4aa8a96377a6
tree83b03ebf1895240b526c3416468e21b4685cdde3
parentc9d503370f240934f3c1c5da4c6c2452a7d05db2
USB: Implement usb_device_match_id()

Match a usb_device with a table of IDs.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20191016093933.693-4-hadess@hadess.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c
drivers/usb/core/usb.h