diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-18 16:23:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-24 18:51:02 -0400 |
commit | c87e1f26054388b661298a61e906a03fa2cd193e (patch) | |
tree | a442c7b51c721479d5c19460b2709907de5a4d3e /lib/mpi/mpi-bit.c | |
parent | d4fd9a5861b2349855e02d403b108dc98cdda022 (diff) |
staging: comedi: pcmuio: simplify 'n_subdevs' and 's->n_chan'
The number of subdevices needed by the driver is based on the
'num_asics' reported by the boardinfo and each subdevice always
has 24 channels. Simplify the attach a bit.
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions