diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-10-01 15:13:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-03 14:09:57 -0700 |
commit | e1eb3605284e11b415a897f7c1cb01319a250a5a (patch) | |
tree | 2d3bf60da4c1e7e1d7615314733dd7e86c438110 /drivers/staging/comedi/Kconfig | |
parent | c16a4d69f07b992acb2f1a4dfcd5d4d1b6784f4a (diff) |
staging: comedi: ni_6527: tidy up ni6527_intr_insn_config()
Handle the instruction (data[0]) with a switch to make it easier
to add additional instructions in the future.
To clarify the code, factor out the code that sets the rising/falling
edge detection.
Rename the CamelCase defines used for the rising/falling edge detection
registers.
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 'drivers/staging/comedi/Kconfig')
0 files changed, 0 insertions, 0 deletions