diff options
| author | 2015-12-14 14:24:47 +0200 | |
|---|---|---|
| committer | 2015-12-22 18:07:08 +0000 | |
| commit | 9b1de75b5deea3e56bfb76d19d71ec599fcc803b (patch) | |
| tree | c81bc44cc4f6f7b8533ba5bb199da5cd3347c97b /tools/perf/scripts/python/syscall-counts.py | |
| parent | iio: light: us5182d: Add interrupt support and events (diff) | |
| download | wireguard-linux-9b1de75b5deea3e56bfb76d19d71ec599fcc803b.tar.xz wireguard-linux-9b1de75b5deea3e56bfb76d19d71ec599fcc803b.zip | |
iio: light: us5182d: Refactor read_raw function
A bit of refactoring for better readability.
Moved and slightly reorganized all the activity necessary for reading als
and proximity into a different function. This way the switch in read raw
becomes clearer and more compact.
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
