diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-09-25 15:39:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 09:32:19 -0700 |
| commit | 08f91d18a48ea7cbf54b7f5132a643ba839d671b (patch) | |
| tree | 8782bdd3a636808ee2b67d7657aef6c52364d152 /scripts | |
| parent | 3f4d0101825bd11b5c8865bb77993924356315fa (diff) | |
staging: comedi: pcl726: tidy up the comedi_lrange code
For aesthetics, declare the comedi_lrange tables with one entry per line.
Since the range data in the boardinfo is only for the analog outputs,
rename the variables to make this clearer.
Use ARRAY_SIZE to initialize the 'ao_num_ranges' member instead of open
coding the value.
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')
0 files changed, 0 insertions, 0 deletions
