staging: comedi: fl512: tidy up fl512_ao_insn_write()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 13 Mar 2014 17:09:59 +0000 (10:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:16:16 +0000 (14:16 -0700)
commit3ecbbb56cb134982c48e8d94d891fd2296af4faa
tree324ca62f94466c38c033126944ddf7d382c6d02b
parent96653ed60eb45ad88a51a91e28a8a02e8c0ece0d
staging: comedi: fl512: tidy up fl512_ao_insn_write()

Tidy up this function. Only save the last value written for readback.

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