diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 17:39:15 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:57 +0100 |
| commit | 9e664cddd12801c1f269460577f46de58a1887d8 (patch) | |
| tree | 2d6eeec5aef4de2e13e9649e561f4406fd601da0 /tools/perf/scripts/python/gecko.py | |
| parent | 174818e102e80c4a29ab837184ac034c6a2bd549 (diff) | |
iio: pressure: bmp280: 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-23-ebb2d0a24302@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
