]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: das08: rename DAS08_TRIG_12BIT
authorIan Abbott <abbotti@mev.co.uk>
Fri, 5 Jun 2015 17:30:11 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:06:40 +0000 (17:06 -0700)
commit346808a077826a357729a1376645c7dd21513380
tree3a2cb17f742a6bc3912ba68e30580b0b97718aeb
parent9f5fd94f362a53118dbb468ed7045ffde6f591d9
staging: comedi: das08: rename DAS08_TRIG_12BIT

The `DAS08_TRIG_12BIT` macro contains the offset to the write-only
software trigger register for 12-bit or 16-bit analog-to-digital
conversions.  Rename the macro to `DAS08_AI_TRIG_REG` and add a comment.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c