summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNikhil Gautam <nikhilgtr@gmail.com>2026-04-20 13:54:36 +0530
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:42 +0100
commit20c598e82cd0b37334dc3e95fbd460f594460c3c (patch)
tree0180808a1811cdfccc39371f1c13c657a90b4e18 /tools/perf/scripts/python/stackcollapse.py
parent44f38b46298dc2b0e007e88381d46fb92172a81d (diff)
iio: chemical: bme680: use BME680_NUM_CHANNELS for scan buffer
Use BME680_NUM_CHANNELS instead of the hardcoded channel count in the scan buffer. This avoids use of a magic number and improves code readability and maintainability. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions