staging: comedi: amplc_dio200: use custom register access functions
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:47:59 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:12 +0000 (15:25 -0700)
commitc10aa035512f9c5092d7044676d3f3d14739f8d8
treed92737d5ab49017b259de001af3e03448ac9728b
parent2662a9b62668ed541014fa078d88fbe99fce2b1e
staging: comedi: amplc_dio200: use custom register access functions

Add custom functions to access hardware registers and call them instead
of calling `inb()` and `outb()` directly.  When additional cards are
supported by this driver requiring different register access methods,
the new functions will localize the register access differences to just
these functions.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c