diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 17:39:09 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:56 +0100 |
| commit | 3ee3c09d2d76dd30282a07aa1fb6e57c40081fed (patch) | |
| tree | f970011d5babb527f2d93192a9b305f27715a59e /tools/perf/scripts/python/gecko.py | |
| parent | 352112e2d9aab6a156c2803ae14eb89a9fd93b7d (diff) | |
iio: imu: inv_mpu6050: 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-17-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
