commit | c1b74035e1d5da58292448df2351d9334ff36a24 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri May 01 14:59:30 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 09 19:05:13 2015 +0200 |
tree | 2e34ed667d30f7e7f9fc1a64349880017fa53bbf | |
parent | 04b6846731508684366b1b91a893021c4272da6d [diff] |
staging: comedi: ni_stc.h: tidy up AI_Personal_Register and bits Rename the CamelCase. Use the BIT() macro to define the bits. Tidy up ni_ai_reset() by using a local var to set the common bits and programming 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>