diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-07-21 18:16:34 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-16 11:57:05 +0100 |
| commit | 97b262d24ae28b1e86586a927c8be9df9747fb56 (patch) | |
| tree | a81ac8b02432b134cca31b4e57fb9d21ca0245e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | iio: proximity: srf08: use stack allocated scan buffer (diff) | |
| download | linux-97b262d24ae28b1e86586a927c8be9df9747fb56.tar.gz linux-97b262d24ae28b1e86586a927c8be9df9747fb56.zip | |
iio: accel: bma180: use stack allocated buffer for scan
Move the scan struct to the stack instead of being in the driver state
struct. The buffer is only used in a single function and does not need
to be DMA-safe so it does not need to exist outside of that function's
scope.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250721-iio-use-more-iio_declare_buffer_with_ts-v2-1-f8fb11b8add8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
