staging: comedi: me4000: remove ao context
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:45:08 +0000 (17:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:53:00 +0000 (21:53 -0700)
commite1d7ccb770b9b231c177bb7477a89cea9682d61a
treec989a392847e30e7fbb7720b0f28b1b4f959285e
parentcfb2cb167ab57a3237a0b8f0a1dc0b92afe62c87
staging: comedi: me4000: remove ao context

The ao context is a struct containing all the register addresses
used with the ao subdevice. These can easily be calculated when
needed. Remove the me4000_ao_context struct, its initialization
function, and it's variable in the private data.

The last value written to the ao channels still needs to be saved
in the private data for readback.

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