diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:49:50 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:50 +0900 |
| commit | 1823fcbfad82f6b5ceae6ca002e0b6a78b2fe6a9 (patch) | |
| tree | 32088fcddf6ea936e71799084aba82e283e59b7e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 9319d4ab4424f1e3671ecb6f296558112972daed (diff) | |
staging: comedi: usbduxsigma: push usb (*probe) into comedi (*auto_attach)
The usb_driver (*probe) already calls comedi_usb_auto_config(), which
will call the comedi_driver (*auto_attach). Move the bulk of the (*probe)
to the (*auto_attach).
This allows the comedi_device private data to be kzalloc'ed and the static
array used to pass the private data from the usb_driver to the comedi_driver
can be removed along with the static semaphore that protected it.
We can also drop a couple variables from the private data since they no
longer are used or needed.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions