diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:53:49 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:33:57 -0800 |
| commit | 2e2e74e17a315d376292764b323e54ec21daa18e (patch) | |
| tree | bdf8c750034d5dd605a75e9683f79688b476856c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6931290785bb6ecd044b08ea0e62e073051fec86 (diff) | |
staging: comedi: addi_apci_3120: tidy up CTR0 register defines
Define the CTR0 register in the main driver source file and remove all
the old defines in hwrdv_apci3120.c.
For aesthetics, save the raw digital output state (devpriv->do_bits) in
the digital output (*insn_bits) function and use a macro to set them when
reading/writing a timer.
Use the CTR0 register define in the digital output (*insn_bits) function
and remove the current register define.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions