staging: comedi: me_daq: remove incomplete analog input command support
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 22:10:03 +0000 (15:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:20:02 +0000 (09:20 -0700)
commitaa0ed8280a552a4ee56a040a5d696c296510985e
tree672e63b9f79d70f9695f4ab6ad0181da5ebf3218
parent14d09f79d7b792d20131bc2f25a3d8a8e7cd593f
staging: comedi: me_daq: remove incomplete analog input command support

The analog input subdevice functions me_ai_do_cmd_test() and me_ai_do_cmd()
are only stubbed in. They both just return 0.

The me_ai_cancel() function does have code to stop any running conversions
but the me_ai_insn_read() function does that also.

Just remove the incomplete functions and remove SDF_CMD_READ from the
subdevice_flags.

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