aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-10-13 17:47:46 -0700
committerGreg Kroah-Hartman <[email protected]>2015-10-16 23:20:10 -0700
commit8c11f4772c54d9bea4448ae9de1d4b99695ee72a (patch)
tree3a6b7ff7d90962e4273b9ef834d405155315c08f /tools/perf/scripts/python/check-perf-trace.py
parent19ce5d61528a464d97f7cfa17f01bcdc86ded8ae (diff)
staging: comedi: cb_pcidas: tidy up trimpot_7376_write()
Rename this function so it has namespace associated with the driver. Change the return type to void, it always returns '0' and the return value is never checked. For aesthetics, remove the 'static const' local variables. They don't add any significant value. Remove the 'bitstream' local variable. The 'value' passed to this function will always be in the correct range due to s->maxdata so the masking is not necessary. Change the type of the 'value' param to match the callers type and write_calibration_bitstream()'s type. 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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions