summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-03-22 21:10:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 17:30:36 +0300
commitaa94f288882583fb2a214110ad021a75e78ff809 (patch)
tree61df2056e9f822b4497b2ff6c707d05082a6f9b4 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent826f783a0eb15c6860d03af6d88eea3eaea34ff4 (diff)
downloadlinux-aa94f288882583fb2a214110ad021a75e78ff809.tar.xz
staging: comedi: ni_660x: tidy up ni_660x_set_pfi_routing()
Use the comedi.h provided constants (enum ni_660x_pfi_routing) instead of defining new ones for the output sources. Use a switch to clarify the channel/source validation. For aesthetics, rename the private data members 'pfi_output_selects' and 'pfi_direction_bits'. Remove the 'min_counter_pfi_chan' and 'max_dio_pfi_chan' from enum ni_660x_constants. The open coded values make the code easier to follow. 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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions