summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-09-20 20:05:26 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:33 +0100
commitb3f6dc30e26eb26885a21c067d70054fb5afe0d6 (patch)
tree88fd985af913932c61334f356a35cc2ea6f9cac4 /tools/perf/scripts/python/stackcollapse.py
parent250db4e304e294580bbc44a444a6bf3a267981d9 (diff)
downloadlinux-next-b3f6dc30e26eb26885a21c067d70054fb5afe0d6.tar.gz
linux-next-b3f6dc30e26eb26885a21c067d70054fb5afe0d6.zip
iio: magnetometer: ak8975: add scan mask index enum
Add an enum to explicitly define scan mask indexes for the X, Y, Z and timestamp channels. Also, update the struct iio_chan_spec to use said enum for the .scan_index parameter. This prevents magic numbers from obscuring the hardware channel mapping and improves code style. No functional change. Suggested-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions