]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: comedi: ni_stc.h: tidy up M_Offset_* values
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 21:58:31 +0000 (14:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:03 +0000 (19:05 +0200)
commitd2dde226094cb4d6e3116da09bf2d9803785683d
treecef2ce86f89952b98201fa009e6518b0ab564d94
parente0852f6ac1949f2d2612861ab608a5b1c614150c
staging: comedi: ni_stc.h: tidy up M_Offset_* values

For aesthetics, define the M_Offset_* values instead of using an enum.

Convert the inline helpers used to get some of the M-Series register
offsets into 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/ni_stc.h