diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 17:39:06 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:56 +0100 |
| commit | d2614c43af75653ab9d06d800857d3f9662ceb3a (patch) | |
| tree | b6894ec82b9d0b210265db9b16b06cf94004cda1 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5226b48b57e1e0135c2da502b02912e2cd4e0c09 (diff) | |
iio: chemical: sunrise_co2: 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-14-ebb2d0a24302@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
