]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: daqboard2000: rename reference DACs register macros
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 May 2016 18:15:25 +0000 (19:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:57:54 +0000 (20:57 -0700)
commit2c7aab274d648dffa99122af79b2edf09943f960
treee297b663c919886a8c2151e0f09ded50ad4f1058
parent77b9634cbdbf62c0aa12f783df7b2c48cf1e5ba3
staging: comedi: daqboard2000: rename reference DACs register macros

Rename the macros that define values for the reference DACs register to
avoid CamelCase, and to make it clearer which register they are
associated with.  Add a macro `DB2K_REG_DACS_SET` for the value `0x0080`
that triggers setting one of the references.

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