]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_65xx: cleanup recurring register map
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 19:06:53 +0000 (12:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:22:49 +0000 (13:22 -0700)
commit4f2fe8f2e05b2d3058505f1e0e70f41de7cd27f9
tree4744e074e33a2dbf9da7b230b16952aa31463a4e
parenta27941e5c0b68066e3bf700edd8545d7bbcb8763
staging: comedi: ni_65xx: cleanup recurring register map

Convert the inline functions used to calculate the offsets to the
recurring port registers and rename them to remove the CamelCase.

Define all the recurring registers.

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_65xx.c