diff options
| author | 2014-03-04 11:30:22 -0700 | |
|---|---|---|
| committer | 2014-03-06 17:06:18 -0800 | |
| commit | d5f874367ae5e448860ce7df3f63db16246ac980 (patch) | |
| tree | 4c0bb956d410dd18bd3f0b7335beb600201c6ed0 /scripts/patch-kernel | |
| parent | staging: comedi: pcl818: absorb pcl818_ai_mode13dma_int() (diff) | |
staging: comedi: pcl818: cleanup ai_cmd()
Rename this function so it has namespace associated with the driver.
The cmd->scan_begin_src is always TRIG_FOLLOW and the only valid
cmd->convert_src is TRIG_TIMER or TRIG_EXT so pcl818_ai_cmd_mode()
is always called with a 'mode' of 1 or 3. The 'mode' actually indicates
the trigger source.
Absorb pcl818_ai_cmd_mode() into this function and simplify the code.
This also removes the need for a forward declaration.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
