USB: storage: Define a new macro for USB storage match rules
authorfangxiaozhi <huananhu@huawei.com>
Mon, 4 Feb 2013 07:14:46 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2013 16:16:49 +0000 (08:16 -0800)
commita215bd7ac53dd38293377108d9db824760317e10
treed160b1ab1f8b5be5d72d78715c6ba96e329c3812
parentf3f2759e76bfbd10f1612cf7f3d9d6e16fee1782
USB: storage: Define a new macro for USB storage match rules

commit 07c7be3d87e5cdaf5f94c271c516456364ef286c upstream.

1. Define a new macro for USB storage match rules:
    matching with Vendor ID and interface descriptors.

Signed-off-by: fangxiaozhi <huananhu@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c
drivers/usb/storage/usual-tables.c