android_kernel_motorola_sm6225/include/linux/usb
Greg Kroah-Hartman 68e2411345 USB: serial: rework usb_serial_register/deregister_drivers()
This reworks the usb_serial_register_drivers() and
usb_serial_deregister_drivers() to not need a pointer to a struct
usb_driver anymore.  The usb_driver structure is now created dynamically
and registered and unregistered as needed.

This saves lines of code in each usb-serial driver.  All in-kernel users
of these functions were also fixed up at this time.  The pl2303 driver
was tested that everything worked properly.

Thanks for the idea to do this from Alan Stern.

Cc: Adhir Ramjiawan <adhirramjiawan0@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Al Borchers <alborchers@steinerpoint.com>
Cc: Aleksey Babahin <tamerlan311@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Worsley <amworsley@gmail.com>
Cc: Bart Hartgers <bart.hartgers@gmail.com>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Dan Carpenter <error27@gmail.com>
Cc: Dan Williams <dcbw@redhat.com>
Cc: Donald Lee <donald@asix.com.tw>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Gary Brubaker <xavyer@ix.netcom.com>
Cc: Jesper Juhl <jj@chaosbits.net>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Johan Hovold <jhovold@gmail.com>
Cc: Julia Lawall <julia@diku.dk>
Cc: Kautuk Consul <consul.kautuk@gmail.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lonnie Mendez <dignome@gmail.com>
Cc: Matthias Bruestle and Harald Welte <support@reiner-sct.com>
Cc: Matthias Urlichs <smurf@smurf.noris.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Michal Sroczynski <msroczyn@gmail.com>
Cc: "Michał Wróbel" <michal.wrobel@flytronic.pl>
Cc: Oliver Neukum <oliver@neukum.name>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Peter Berger <pberger@brimson.com>
Cc: Preston Fick <preston.fick@silabs.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Rigbert Hamisch <rigbert@gmx.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Simon Arlott <simon@fire.lp0.eu>
Cc: Support Department <support@connecttech.com>
Cc: Thomas Tuttle <ttuttle@chromium.org>
Cc: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Cc: Wang YanQing <Udknight@gmail.com>
Cc: William Greathouse <wgreathouse@smva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-08 15:46:14 -07:00
..
association.h
atmel_usba_udc.h
audio-v2.h usb: uac2: Add ACHeader and FormatType descriptor 2012-02-15 10:10:11 +02:00
audio.h
c67x00.h
cdc-wdm.h usb: cdc-wdm: adding usb_cdc_wdm_register subdriver support 2012-03-08 13:06:48 -08:00
cdc.h
ch9.h usb: ch9: define Set SEL and Set Isoch Delay macros 2012-04-30 11:31:21 +03:00
ch11.h USB/xHCI: Enable USB 3.0 hub remote wakeup. 2012-02-14 12:12:24 -08:00
composite.h
ehci_def.h
ehci_pdriver.h USB: EHCI: Add a generic platform device driver 2012-03-15 12:42:07 -07:00
functionfs.h
g_hid.h
g_printer.h
gadget.h usb: gadget: add generic map/unmap request utilities 2012-02-28 14:48:23 +02:00
gadgetfs.h
gpio_vbus.h
hcd.h Merge 3.4-rc6 into usb-next 2012-05-07 09:03:39 -07:00
input.h
intel_mid_otg.h usb: otg: Rename otg_transceiver to usb_phy 2012-02-13 13:34:36 +02:00
iowarrior.h
irda.h
isp116x.h
isp1301.h USB: Add driver for NXP ISP1301 USB transceiver 2012-05-01 13:33:02 -04:00
isp1362.h
isp1760.h
Kbuild USB: export video.h to the includes available for userspace 2011-09-23 23:07:26 -03:00
langwell_udc.h
m66592.h
midi.h
msm_hsusb.h usb: otg: msm: Start using struct usb_otg 2012-02-13 13:35:38 +02:00
msm_hsusb_hw.h
musb.h
net2280.h
ohci_pdriver.h USB: OHCI: Add a generic platform device driver 2012-03-15 12:41:58 -07:00
otg.h usb: musb: wake the device before ulpi transfers 2012-04-10 19:11:48 +03:00
quirks.h
r8a66597.h usb: gadget: r8a66597-udc: add support for SUDMAC 2011-10-13 20:38:39 +03:00
renesas_usbhs.h usb: renesas_usbhs: add support for SUDMAC 2012-01-24 11:33:04 +02:00
rndis_host.h
serial.h USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
sl811.h
storage.h usb/storage: remove Filler member from struct bulk_cs_wrap 2012-02-28 11:11:22 -08:00
tmc.h
uas.h usb/uas: add usb_pipe_usage_descriptor 2012-02-02 14:51:19 -08:00
ulpi.h usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00
usbnet.h
video.h
wusb-wa.h
wusb.h