summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-12-14 20:14:18 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-28 14:28:13 +0000
commit6fcabe62de98bdd7a20c2b46992e90caf8fdd28a (patch)
tree6e75e1c07adfd5d5377cdd7bceb8523430f91bd8 /include/linux
parent88ff5304f63035e69e4d7571d67dfeee78511e34 (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 'include/linux')
0 files changed, 0 insertions, 0 deletions