diff options
| author | David Lechner <[email protected]> | 2024-01-08 14:06:44 -0600 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-01-23 22:06:56 +0000 |
| commit | e7748c17bda04758a01f1241896b553f8b3873cc (patch) | |
| tree | 6de384db9920e718b7881e129aaa4f3994263a3f /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 66b5591697294171b7e574b7e253a0d7ecce99dd (diff) | |
iio: core: use INDIO_ALL_BUFFER_MODES in iio_buffer_enabled()
This replaces use of individual buffer mode flags with
INDIO_ALL_BUFFER_MODES in the iio_buffer_enabled() function.
This simplifies the code and makes it robust in case of the addition of
new buffer modes.
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions