diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-06-29 10:59:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 15:46:07 -0700 |
commit | cba9d4aa4e55547894d4625bc3f99bab2016a6c8 (patch) | |
tree | df15411e7a362c9b9b4c593c4f788b78ac3c46c9 /drivers/accessibility | |
parent | afdd107c054ca135559a331f08630fdf76dacbfe (diff) | |
download | blackbird-op-linux-cba9d4aa4e55547894d4625bc3f99bab2016a6c8.tar.gz blackbird-op-linux-cba9d4aa4e55547894d4625bc3f99bab2016a6c8.zip |
staging: comedi: das_08: remove the cached 8254 'mode'
The driver initially sets all the cached 'mode' values for the
8254 timers to (I8254_MODE0 | I8254_BINARY). It then sets the
timers to that 'mode'. Configuring the counters with the comedi
INSN_CONFIG_SET_COUNTER_MODE updates the 'mode' and then sets
the timers to the 'mode'. The cached value is never read or
used other than for storage.
Just remove the 'mode' usage as it serves no purpose.
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>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions