commit | c87e1f26054388b661298a61e906a03fa2cd193e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jun 18 13:23:46 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 15:51:02 2013 -0700 |
tree | a442c7b51c721479d5c19460b2709907de5a4d3e | |
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>