diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-03-07 13:41:00 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 12:38:53 -0700 |
| commit | 01fca4732b98ab59de087fafd96359f5d206169f (patch) | |
| tree | 2a69c5e1c1e813340ef4dc67ad40b054124e5182 /tools/perf/scripts/python/syscall-counts.py | |
| parent | a448376e4dbcf3129fb0ec3cc0346660f67a7309 (diff) | |
staging: comedi: jr3_pci: tidy up jr3_pci_poll_subdevice()
Refactor the function to reduce the indent level.
For aesthetics, rename the subdevice private data pointer from 'p'
to 'spriv'.
Rename the lacal variable used for the channel->full_scale to 'fs'
to reduce the line lengths.
Remove the setting of range[8]. The min,max values are the same as
the ones used when the subdevice private data was allocated and
initialized.
Remove the poll_delay_min_max() that are the same as the default.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
