staging: comedi: cb_das16_cs: use #define'd io reg offsets
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 26 Jun 2012 00:18:43 +0000 (17:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:35:22 +0000 (15:35 -0700)
commitae1a400029aa9624386b198904aedc46de855ba6
treec3c8498ed791bff12ec61a50fa802196c0bdaa9c
parente05b98b6425d46e7a0f77d16499407f6df35427f
staging: comedi: cb_das16_cs: use #define'd io reg offsets

Instead of open coding the 'dev->iobase + n' for each io register
in the device, use the provided #define's for the offsets.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c