commit | 5a5614cb669f9f99bb3e983b3c4987a1eaef852b | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Sep 19 15:12:17 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 21 09:19:44 2012 -0700 |
tree | 32b18a04571c64af3728f9295a20603aa67e6fff | |
parent | 2a29edf69807a43ad7594554cea4def755443103 [diff] |
staging: comedi: s526: cleanup s526_gpct_insn_config() Use a local variable for the iobase of the channel being configured. This makes the outw() calls a bit cleaner. Remove the unnecessary casting of the values being written to the channel registers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>