staging: comedi: das08: rename and split DAS08JR_DIO
authorIan Abbott <abbotti@mev.co.uk>
Fri, 5 Jun 2015 17:30:20 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:06:40 +0000 (17:06 -0700)
commitc47c0ed2d53ad829aff1f4ada00e98227c478a57
tree4dacd0a22c9ace5f003e54ce72ee6e71ff011c57
parent11e8457f02ee41bbd1c0437d340c692ce2d78431
staging: comedi: das08: rename and split DAS08JR_DIO

The `DAS08JR_DIO` macro contains the offset to the read-only digital
input register and write-only digital output register on the "JR"
boards.  Replace the macro with two new macros (with the same numeric
value) named `DAS08JR_DI_REG` for the digital input register and
`DAS08JR_DO_REG` for the digital output register, 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