diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-12-14 20:14:18 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-12-28 14:28:13 +0000 |
commit | 6fcabe62de98bdd7a20c2b46992e90caf8fdd28a (patch) | |
tree | 6e75e1c07adfd5d5377cdd7bceb8523430f91bd8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 88ff5304f63035e69e4d7571d67dfeee78511e34 (diff) |
iio: adc: dln2-adc: zero full struct instead of just the padding
Drop a minor optimization of zeroing the padding between data and
timestamp and zero the whole structure. This is done in favor of
simpler code, and in order to drop the usage of the internal private
variable "scan_timestamp" of the struct iio_dev.
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20241214191421.94172-2-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions