diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-08-12 13:25:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 18:36:17 -0700 |
commit | f7f909e09fd0cc22499913933c9caee3000423e3 (patch) | |
tree | 7638d397ce58505b918d735e42b0c9c773bf39d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 626bb280d0516c7b4adee50cdd2b8ea377183f46 (diff) |
staging: comedi: hwdrv_apci3501: refactor apci3501_read_insn_timer()
The handling of the ADDIDATA_WATCHDOG and ADDIDATA_TIMER is identical.
Refactor this function to use a common code path for both timer modes.
Remove the incorrect dev_err() noise. The subdevice is valid but the
timer_mode is not supported.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions