]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitab8a4dc8595c8d4559420fe10e56a6a58b2982ac
tree7719de5cdaac4e722056eb8109a3b8ae085d3621
parent34d49fc07c19e2172d57ac69d516db783aeed902
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