From: Bjørn Mork Date: Tue, 6 Mar 2012 16:29:21 +0000 (+0100) Subject: usb: cdc-wdm: adding list lookup indirection X-Git-Tag: v3.4-rc1~184^2~22^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c13860808a528cd580fdca61aef9f73352a331;p=pandora-kernel.git usb: cdc-wdm: adding list lookup indirection Register all interfaces handled by this driver in a list, getting rid of the dependency on usb_set_intfdata. This allows further generalization and simplification of the probe/create functions. This is needed to decouple wdm_open from the driver owning the interface, and it also allows us to share all the code in wdm_create with drivers unable to do usb_set_intfdata. Signed-off-by: Bjørn Mork Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed