aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-15 15:21:24 +0000
committerJonathan Cameron <[email protected]>2024-12-28 14:28:14 +0000
commit898918d67399bb73d6af1503038623a610d294a2 (patch)
treebb9a426279f93c838040921f218111641ee3097c /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: core: mark scan_timestamp as __private (diff)
downloadkernel-898918d67399bb73d6af1503038623a610d294a2.tar.gz
kernel-898918d67399bb73d6af1503038623a610d294a2.zip
iio: imu: bno055: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or malicious modifications. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://patch.msgid.link/20241215-sysfs-const-bin_attr-iio-v1-1-a5801212482e@weissschuh.net Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions