From: Ian Abbott Date: Sat, 27 Oct 2012 20:44:16 +0000 (+0100) Subject: staging: comedi: add comedi to usb interface helper X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~891 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a577b823d0202b94eeef0e6b2b5653527fd6134;p=pandora-kernel.git staging: comedi: add comedi to usb interface helper Add inline helper function `comedi_to_usb_interface()` to get the pointer to `struct usb_interface` associated with the comedi device. This pointer is set by the call to `comedi_usb_auto_config()`. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed