diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:45:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:45 +0900 |
| commit | 641b78f3674fcf2f77aaf295ab2a96c3d9d7d3cb (patch) | |
| tree | 75ab1283384aac74f366d8c913f0b54f2434d663 /tools/perf/scripts/python | |
| parent | 147b25a3cc9c95597bbccf0559663932d31972b9 (diff) | |
staging: comedi: usbduxsigma: tidy up usbduxsub_ao_IsocIrq()
Rename the local variables to follow the "norm" for comedi drivers.
The comedi_subdevice for this function is the dev->write_subdev that
was initialized during the (*auto_attach), use that instead of
directly accessing the comedi_device subdevices array.
Use dev->class_dev for any dev_{level} messages.
Remove the extra check of 'ao_cmd_running' before submitting the urb.
This flag was previously checked and if the command is aborted due to
an usbdux_ao_stop() before reaching this point the function will exit.
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')
0 files changed, 0 insertions, 0 deletions