commit | fce0ff523a8a8e975432dae9ecb0934ad6e3d20f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Thu Mar 13 14:16:30 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 17 14:19:51 2014 -0700 |
tree | 65fd950bd51a58dbdfe5ad65cd8041aa0e978ca6 | |
parent | 4cbbacb285d82e49c4919e678417e708e5e38451 [diff] |
staging: comedi: gsc_hpdi: tidy up the register map For aesthetics, convert the various enums into simple defines to describe the register map for the board. Group the bit defines with the associated register define. Convert the helper functions for the register bit/shift/mask stuff into simple defines. 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>