aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-28 10:27:01 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-30 16:51:00 -0700
commit65dbae525fc1e6b5c2cd09e1fc700a7d80b3577d (patch)
treeccb9dbc1e75a10d6f71e7664348b4bc0af2130f1 /tools/perf/scripts/python/event_analyzing_sample.py
parent613117fbfe02586f4f53b83b668eab06bec6bc5f (diff)
staging: comedi: ni_tiocmd: tidy up ni_tio_configure_dma()
The 'enable' and 'read_not_write' parameters are true/false flags. For aesthetics, change their types to bool. Rename the local variable 'input_select_bits' to simply 'bits' and reuse it when enabling the dma on the m series and 660x counter variants. Add a local variable for the 'mask' that is passed to ni_tio_set_bits() to help clarify the code. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions