]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: mite.h: tidy up the mite channel register offsets
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 19:23:38 +0000 (12:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:24:41 +0000 (13:24 -0700)
commitba9a1e3f07fc43df5f1b8bd8b0c72d0c3bbf5e16
treedee702b30eeaf2ae55c69c3daaa337ed5729fc90
parent9233c8db355e70550298f493ec7c30b3e6425868
staging: comedi: mite.h: tidy up the mite channel register offsets

Convert the inline MITE_* functions, used to calculate the mite channel
register offsets, into simple macros.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.h