commit | 826f783a0eb15c6860d03af6d88eea3eaea34ff4 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Mar 22 11:10:32 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 28 07:30:36 2016 -0700 |
tree | 49276d297e3aa901a35fb07632c58ab676615502 | |
parent | 7e9061869435dbeefff970b032d2b8141ce9e301 [diff] |
staging: comedi: ni_660x: tidy up ni_660x_dio_insn_bits() Use some local variables to clarify this function. This (*insn_bits) function is a bit different from most comedi drivers. Add some comments to clarify why the shifts are used. 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>