staging: comedi: das08: rename DAS08AO_AO_LSB() and DAS08AO_AO_MSB()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 5 Jun 2015 17:30:24 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:06:41 +0000 (17:06 -0700)
commit3c98c1d3f1d3912738dca864fd00910654ed2a65
tree6d7ea6146e0697b95e658eab0ea6e23d493cc131
parentf1c04fd42183ccbfa9820ae5a45168e80d70d282
staging: comedi: das08: rename DAS08AO_AO_LSB() and DAS08AO_AO_MSB()

The `DAS08AO_AO_LSB(x)` macro returns the offset to the analog output
low byte register for channel x (0 or 1) for "AOL", "AOM", and "AOH"
boards.  The `DAS08AO_AO_MSB(x)` macro returns the offset to the
corresponding high byte register.  Rename the macros to
`DAS08AOX_AO_LSB_REG(x)` and `DAS08AOX_AO_MSB_REG(x)` respectively, and
add some comments.

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