diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-25 22:10:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 16:20:03 (GMT) |
commit | 310239e70aab8d958088948449b7e05d6de64b9c (patch) | |
tree | 572f038e3856b67d8f3ec328ff0450dbaf8b241d /drivers/clk | |
parent | fa8eec60259e10a1307f8ff8cdfc6f6db898d4aa (diff) | |
download | linux-fsl-qoriq-310239e70aab8d958088948449b7e05d6de64b9c.tar.xz |
staging: comedi: me_daq: simplify analog output boardinfo
The boards supported by this driver either have analog outputs or don't
have them. Add a new boardinfo value, 'has_ao', to indicate this.
The boards that have analog outputs always have 4, 12-bit channels. Remove
the unnecessary boardinfo and just open-code the values in the subdevice
initialization.
The boards with analog outputs also share the same output range capabilities.
Rename the comedi_lrange to make it common for all board types.
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 'drivers/clk')
0 files changed, 0 insertions, 0 deletions