diff options
author | 2024-12-14 20:14:21 +0100 | |
---|---|---|
committer | 2024-12-28 14:28:14 +0000 | |
commit | 9351bbb1b022227644022850bf2160b04e970195 (patch) | |
tree | 82b6e0d9824e5641c79ffc58599085fba23de3c6 /include/linux/iio/timer/stm32-timer-trigger.h | |
parent | iio: common: ssp_sensors: drop conditional optimization for simplicity (diff) | |
download | linux-rng-9351bbb1b022227644022850bf2160b04e970195.tar.xz linux-rng-9351bbb1b022227644022850bf2160b04e970195.zip |
iio: core: mark scan_timestamp as __private
Since there are no more direct accesses to the indio_dev->scan_timestamp
value, it can be marked as __private and use the macro ACCESS_PRIVATE()
in order to access it. Like this, static checkers will be able to inform
in case someone tries to either write to the value, or read its value
directly.
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20241214191421.94172-5-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/timer/stm32-timer-trigger.h')
0 files changed, 0 insertions, 0 deletions