commit | 1322f148983dfc91f2f011043bcdbc6de4a9df33 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Apr 08 12:41:42 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 28 22:16:10 2016 -0700 |
tree | 5e39f5f4e24ede97d4a0341a78a77841a38b711c | |
parent | 4c6f738e0f15a8d7a264f49f3d4f42a458edf773 [diff] |
staging: comedi: das1800: remove 'ao_n_chan' boardinfo The "st-da" board types have 4 analog output channels. All other board types, with analog outputs, only have 2 channels. Remove the 'ao_n_chan' member of the boardinfo and use the 'id' member to determine the subdevice 'n_chan'. 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>