summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-02-19 02:17:46 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-04 16:17:50 +0300
commit38f898e0b54f5f1e7db92bec755fb55115d43de8 (patch)
tree13303669918037e1c9a38bca1e80e172fc1ff6ac /tools/perf/scripts/python/exported-sql-viewer.py
parentcafeb8a99746e218035ad000d28deeca2bad9f9c (diff)
downloadlinux-38f898e0b54f5f1e7db92bec755fb55115d43de8.tar.xz
iio: adc: ad4695: simplify getting oversampling_ratio
We already have a local variable that holds a pointer to st->channels_cfg[chan->scan_index]. Use that to simplify the code. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Trevor Gamblin <tgamblin@baylibre.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250218-iio-adc-ad4695-fix-out-of-bounds-array-access-v1-2-57fef8c7a3fd@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