staging: comedi: rtd520: remove 'aiMaxGain' from boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 29 Oct 2012 17:07:01 +0000 (10:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:44:48 +0000 (10:44 -0700)
commit8a799460c280568e3c59bcc84f3443035468486f
tree04c2c51b35900a0378f8f4c74d81987ee64be874
parent5d55a30c50a3740b415080ce9a9c7b2c642daec7
staging: comedi: rtd520: remove 'aiMaxGain' from boardinfo

This value is only used in the attach to determine which range
table the analog input subdevice uses. Remove this variable and
just pass the range table pointer in the boardinfo.

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/rtd520.c