]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: daqboard2000: redo DAC control register macros
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 May 2016 18:15:22 +0000 (19:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:57:54 +0000 (20:57 -0700)
commitac269740d033012b57f61b0464245507692d5879
tree7719de5cdaac4e722056eb8109a3b8ae085d3621
parent45a0de99d0ac1641e89cce8d1f83600d86e7eff0
staging: comedi: daqboard2000: redo DAC control register macros

Rename the macros used to define values for the DAC control register to
avoid CamelCase and to make it clearer which register they are
associated with.  Refactor the macros used to define values to enable or
disable DAC channels to use the channel number as a parameter.  None of
these macros are currently used by the driver.

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