]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: comedi: make constants slightly more consistent
authorSpencer E. Olson <olsonse@umich.edu>
Sat, 8 Oct 2016 21:38:43 +0000 (15:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:16 +0000 (10:26 +0200)
commitcc7a6d6c4614bbf65d57dac31706fb01377d8371
tree2ddb9d27787485c27508cc4eda864b61fb001090
parent5c53440daa050909e761ebcce8483b28fb163273
staging: comedi: make constants slightly more consistent

This makes INSN_CONFIG_DIO_{INPUT,OUTPUT,OPENDRAIN} simply be copies of the
already-existing constants COMEDI_INPUT, COMEDI_OUTPUT, and
COMEDI_OPENDRAIN.

This change also ensures that if a user happens to use, for example,
COMEDI_INPUT in place of where INSN_CONFIG_DIO_INPUT, the result will
always be the same and also acceptable and correct usage.

Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi.h