commit | aa9d73ba831eef18624cb7b8288987b3bfd4dac8 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri May 01 14:59:16 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 09 19:05:11 2015 +0200 |
tree | 70aaf6f5687d990c0ed96d101e3034918e96f8d4 | |
parent | d8f62c463867293ed37fd9ac25dfc2338dc01594 [diff] |
staging: comedi: ni_stc.h: tidy up AI_Output_Control_Register and bits Rename the CamelCase. Use the BIT() macro to define the bits. Tidy up the programming of this register un ni_ai_reset() by using a local variable to set the common bits then writing the register in the common code path. 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>