diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-10-01 15:10:41 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-03 14:09:53 -0700 |
| commit | c6d9681b40e6dde9f8cbd922efff1f4d5433adc6 (patch) | |
| tree | 722c1cd51e05f142a1e0ba074d84e0f281ab6348 /include/linux/flex_array.h | |
| parent | e3f6ce205cbdb633df71eab61fbac13dfa466802 (diff) | |
staging: comedi: ni_6527: tidy up ni6527_di_insn_config()
The core will validate the insn->n value based on the actual instruction
(data[0]) that is being handled. Remove the sanity check and change the
instruction handling into a switch. This follows the normal format for
(*insn_config) functions and make adding additional instructions easier.
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>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
