commit | 5c813bb100431eff1f78d75682ae1fe2d30744b4 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Sep 19 15:12:33 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 21 09:19:44 2012 -0700 |
tree | 98e1f8de0bd6e1115fc70d45ed5e3bbfda45d5dc | |
parent | 5a5614cb669f9f99bb3e983b3c4987a1eaef852b [diff] |
staging: comedi: s526: cleanup s526_gpct_winsn() Use a local variable for the iobase of the channel being written. This makes the outw() calls a bit cleaner. Rearrange the switch () so that the actual write to the device can be common regardless of the gpct configuration. 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>