diff options
| author | 2016-03-22 11:10:16 -0700 | |
|---|---|---|
| committer | 2016-03-28 07:30:36 -0700 | |
| commit | 01ead0ded315d660b07baccb68ca36c2a7f3da0a (patch) | |
| tree | bdf6fe6b6e4f1d82b0a80ca62c88344d86ec87e0 /scripts | |
| parent | staging: comedi: ni_660x: rename CamelCase 'NI_660xRegisterData' (diff) | |
staging: comedi: ni_660x: cleanup the NI660X_IO_CFG register helpers
Convert the inline functions used to set the bits in the NI600X_IO_CFG
registers into macros. Also convert the enum ni_660x_pfi_output_select
into defines. This clarifies the association with the register.
This also fixes a number of checkpatch.pl issues about:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
