USB: Turn interface_to_usbdev into an inline function
authorMatthew Wilcox <willy@linux.intel.com>
Fri, 30 Apr 2010 19:11:30 +0000 (13:11 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:41 +0000 (13:21 -0700)
commit1e429018b646bdf903554e92ead1cda96cc552dc
treee57fdbc9e823d5b06659ceae6ce9850c6ab3be91
parentfe54b058de9d1df5fef9e2a559651f4b7c9f04b1
USB: Turn interface_to_usbdev into an inline function

The stronger type-checking would have prevented a bug I had.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb.h