aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorVarsha Rao <[email protected]>2017-03-14 21:53:18 +0530
committerJonathan Cameron <[email protected]>2017-03-18 14:19:43 +0000
commit2e2c8d227ac9bc31a7df7401a6508dd73c25a2b6 (patch)
tree6a17746916c360384daf2de93d71f1a9b8e8b68b /tools/perf/scripts/python/event_analyzing_sample.py
parent01d2de39cd765461562ff6cc69dfc419d9fc63b6 (diff)
staging: iio: adis16240: Remove mutex_lock() and mutex_unlock() function call.
Remove mutex_lock() and mutex_unlock() function calls, as the adis16240_spi_read_signed() function can be run parallel and safely multiple times. Also remove the mutex.h header file and comment, which are no longer required. As indio_dev is declared and initialized in adis16240_spi_read_signed(), again declaration to same type and initialization to same value is not required, remove it from adis16240_read_12bit_signed(). Simplify the return logic, by merging assignment and return into a single line. Signed-off-by: Varsha Rao <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions