]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: daqboard2000: rename acq status register macros
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 May 2016 18:15:21 +0000 (19:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:57:54 +0000 (20:57 -0700)
commit45a0de99d0ac1641e89cce8d1f83600d86e7eff0
treebc121c0fa72006125ad15464a009c27e33f48224
parent6e00a795ad9a6cbbaada687d11009f580ffdc1f0
staging: comedi: daqboard2000: rename acq status register macros

Rename the macros associated with the acquisition status register to
avoid CamelCase and to make it clear which register they are associated
with.

Add a macro to define the offset of the read-only acquisition status
register.  It's the same offset as the acquisition control register,
which is write-only.

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/daqboard2000.c