aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-11-13 11:11:22 -0700
committerGreg Kroah-Hartman <[email protected]>2015-12-18 14:56:30 -0800
commit0c917a93654557dc2489ebacbeadc3851186e3ce (patch)
tree1047272cf98312d4735d7b8a722eaf1096e811aa /tools/perf/scripts/python/export-to-postgresql.py
parentadbc9ec7fe38baa8af2a3d21e3f505c8a8da7c3b (diff)
staging: comedi: adv_pci1710: tidy up pci1710_reset()
Change the return type to void, this function always succeeds and the caller does not check the return value anyway. Fix the initial programming of the control register. The SW bit enables the software trigger and should not be set here. Setting CNT0 selects the external clock source for counter 0 (the user counter). It makes more sense to select the internal 1 MHz clock. Remove the unnecessary initialization of the private data members. This function is only called during the (*auto_attach) after the private data was kzalloc'ed. Remove the redundant clearing of the A/D FIFO and pending interrupts. Just do it once. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions