USB: add USB_DEVICE_INTERFACE_CLASS macro
authorBjørn Mork <bjorn@mork.no>
Wed, 31 Oct 2012 05:08:39 +0000 (06:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 19:58:11 +0000 (12:58 -0700)
commit17b72feb2be14e6d37023267dc0e199e8e0e3fdc
treeb5f2e9d2c58dc4a64ea4c488e2ff67e287b4e4ad
parent1b95bee5630766448f40eecaa08b722f256335ea
USB: add USB_DEVICE_INTERFACE_CLASS macro

Matching on device and interface class with with unspecified
subclass and protocol is sometimes useful.  This is slightly
different from USB_DEVICE_AND_INTERFACE_INFO which requires
the full interface class/subclass/protocol triplet.

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