staging: comedi: das16: remove 'ai_unipolar' and 'ai_singleended'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 29 Jul 2013 20:56:02 +0000 (13:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:37:47 +0000 (17:37 -0700)
commit1aa4694fb6bd5c0cdadb6d7ba0723186f5198c1b
tree8e434c0d0ae495d9e397a64ebbd9244ff10b8883
parent0837e209b3519517dd252d31af02d42368ddfcc6
staging: comedi: das16: remove 'ai_unipolar' and 'ai_singleended'

These members in the private data are only used during the board attach.

Move the reading of the status register to the board attach and just
check the value where needed when initializing the analog input subdevice.

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