aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2024-10-28 17:38:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-11-03 20:33:45 +0000
commit7f4f3c4e977f7d31c431a004640d763dc356e2ec (patch)
treed8109854ecabb3f0b122aadba7ba9f9864b82210 /tools/perf/scripts/python/exported-sql-viewer.py
parent5d8173b8493151d32b99ec6732fb29c58256a7c8 (diff)
downloadlinux-7f4f3c4e977f7d31c431a004640d763dc356e2ec.tar.gz
linux-7f4f3c4e977f7d31c431a004640d763dc356e2ec.tar.bz2
linux-7f4f3c4e977f7d31c431a004640d763dc356e2ec.zip
iio: adc: ad7280a: use IIO_DIFF_EVENT_CODE macro helper
The IIO_DIFF_EVENT_CODE macro helper was introduced to provide a more specific alternative to the generic IIO_EVENT_CODE macro for handling differential channels. This commit updates the code to use IIO_DIFF_EVENT_CODE for better clarity and maintainability. However, the current implementation incorrectly sets both chan1 and chan2 to 0. To maintain compatibility and avoid breaking existing user space applications, this behavior is preserved for now. Signed-off-by: Julien Stephan <jstephan@baylibre.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20241028-iio-add-macro-for-even-identifier-for-differential-channels-v1-2-b452c90f7ea6@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions