diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-07-01 16:37:52 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-07-13 15:36:25 +0100 |
| commit | 1a913da6cfda0139bfe1fe203858d5ba30ac853d (patch) | |
| tree | 1eaf98008ff347c3cb38e67969e045c3ab283c8e /scripts/gdb/linux/utils.py | |
| parent | 11d58620dfd0c52b0c49b04d28707c7a5a2d00ae (diff) | |
iio: adc: ad_sigma_delta: use sizeof() in ALIGN()
Use sizeof() instead of hardcoding the size of the timestamp in the
ALIGN() macro. This makes it a bit more obvious what the intention of
the code is.
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250701-iio-adc-ad7173-add-spi-offload-support-v3-4-42abb83e3dac@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
