diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 17:39:11 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:57 +0100 |
| commit | 19ae7344cc179a6968dd81660d456e5181380932 (patch) | |
| tree | 56b61b3cb656069abe1eedfa3f050e56d52e7b1a /tools/perf/scripts/python/stat-cpi.py | |
| parent | 6ee8e56aedc08baf2ce1b732d5bfe8579aa28fda (diff) | |
iio: light: ltr501: 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-19-ebb2d0a24302@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
