diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-08 00:52:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 08:56:42 +0300 |
| commit | 8e3390725093dfec3143046592ed611b4b7a12e6 (patch) | |
| tree | 8553f56ef59a28fd2f7239aef991997a592ef90d /tools/include | |
| parent | afbd3c2b97499d74d068908ecd10cbef0d0c6e16 (diff) | |
| download | linux-8e3390725093dfec3143046592ed611b4b7a12e6.tar.xz | |
staging: comedi: icp_multi: tidy up subdevice init
For aesthetics, add some whitespace to the subdevice initialization.
Remove the unnecessary initialization of the 'len_chanlist' for each
subdevice. That member is only used by subdevices that support async
commands.
Also, remove the initialzation of the dev->read_subdev. That member
is also only used for async command support.
Rename some of the subdevice functions to follow the normal format
used in comedi drivers.
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 'tools/include')
0 files changed, 0 insertions, 0 deletions
