staging: comedi: pcmad: change boardinfo 'n_ai_bits' to 'ai_maxdata'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 5 Jun 2013 22:37:53 +0000 (15:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:01:34 +0000 (12:01 -0700)
commitd69b55f3d07a1449385cd6aa5c11251d4810cc8a
tree78ac9054decde85c1cb7fa22ae927861be344aaf
parent624b653090974a84f89260b0882286d817a185b4
staging: comedi: pcmad: change boardinfo 'n_ai_bits' to 'ai_maxdata'

This information is only used to set the subdevice 'maxdata'. Change
it so the calculation is not needed.

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>
drivers/staging/comedi/drivers/pcmad.c