diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-03-06 17:29:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 13:06:48 -0800 |
commit | b0c13860808a528cd580fdca61aef9f73352a331 (patch) | |
tree | 8b2bc79cf10452c499741a5bb1a0a7c22ab4df94 /drivers/usb/host/ohci-ppc-of.c | |
parent | 0dffb4862a5f109dc9b72e3a4e0ecc85a87ce397 (diff) | |
download | talos-op-linux-b0c13860808a528cd580fdca61aef9f73352a331.tar.gz talos-op-linux-b0c13860808a528cd580fdca61aef9f73352a331.zip |
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 <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-ppc-of.c')
0 files changed, 0 insertions, 0 deletions