diff options
| author | Brian Masney <[email protected]> | 2018-03-21 06:29:02 -0400 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-03-24 13:31:40 +0000 |
| commit | c7bd25e8e23c934d8ad420ea93a508edf1588905 (patch) | |
| tree | 91b680b6702e70f236e5d141b42c6003fd08b805 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 8ea0fa7cd425448e24da38dfe4ea78d3aa69b48c (diff) | |
staging: iio: tsl2x7x: remove unnecessary code
As a follow up to the work in commit a0722d05a195 ("staging: iio:
tsl2x7x: convert mutex_trylock() to mutex_lock()"), this patch removes
the unnecessary calls to tsl2x7x_get_prox() and tsl2x7x_get_lux() in
tsl2x7x_event_handler(). Previously, these functions were locked with
mutex_trylock(), but that is no longer the case. This patch also removes
a comment that is no longer relevant about returning the last sample.
Signed-off-by: Brian Masney <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions