diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 17:38:53 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:55 +0100 |
| commit | f448fb868a273684185a00268a49763ee46bbc01 (patch) | |
| tree | 124c035afbc8bd381fb9687693b279383fe1a812 /tools/perf/scripts/python/bin | |
| parent | iio: accel: adxl345: replace magic numbers by unit expressions (diff) | |
| download | linux-f448fb868a273684185a00268a49763ee46bbc01.tar.gz linux-f448fb868a273684185a00268a49763ee46bbc01.zip | |
iio: accel: adxl372: use = { } instead of memset()
Use { } instead of memset() to zero-initialize stack memory to simplify
the code.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250611-iio-zero-init-stack-with-instead-of-memset-v1-1-ebb2d0a24302@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
