staging: comedi: dmm32at: tidy up cmd->scan_begin_{src, arg} validation
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 11 Nov 2014 23:55:23 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:33:23 +0000 (15:33 -0800)
commite5d44e8c8b0ea90627c41d1e350f6d01ee5f4a2a
treeeb7bae82963534d92dc5a29565a685b954ea67d6
parent646b55ee6418dd5f20eadc3cd6a4e04f4e1fa1a5
staging: comedi: dmm32at: tidy up cmd->scan_begin_{src, arg} validation

This driver only supports a single scan_begin_src, TRIG_TIMER. Tidy up
the (*do_cmdtest) validation of the cmd->scan_begin_{src,arg}.

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/dmm32at.c
This page took 0.024382 seconds and 5 git commands to generate.