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, 9 Jul 2014 17:51:19 +0000 (10:51 -0700)
commit3943a08b97f2e36e01172d1f321e43c8067c9094
tree4e0cb6dd2d9e58eac52d13b72256bcc81e4c745c
parent939a3a4989f3210a20f5e68734896c43d9b6ae6c
USB: add USB_DEVICE_INTERFACE_CLASS macro

commit 17b72feb2be14e6d37023267dc0e199e8e0e3fdc upstream.

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