aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2024-05-30 10:14:09 -0500
committerJonathan Cameron <[email protected]>2024-06-04 19:53:08 +0100
commit7758562898033a3bd98a24d2a541c930b0fc98e6 (patch)
tree79d60d5b50c5404c8f110c022d198f8ca35b7f27 /tools/perf/scripts/python/netdev-times.py
parentfd7179ece035417f44f7ecff086d6df674d8a5bd (diff)
iio: buffer: use struct iio_scan_type to simplify code
By using struct iio_scan_type, we can simplify the code by removing lots of duplicate pointer dereferences. This make the code a bit easier to read. This also prepares for a future where channels may have more than one scan_type. Signed-off-by: David Lechner <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/20240530-iio-add-support-for-multiple-scan-types-v3-2-cbc4acea2cfa@baylibre.com Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions