]> 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)
commit3103cab11aa656dae84b7cb20618c3098f1d12eb
treebc121c0fa72006125ad15464a009c27e33f48224
parent166b970be8df335650e0bb5dddd181215b9a7243
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