summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAntoniu Miclaus <antoniu.miclaus@analog.com>2026-03-21 13:04:58 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-21 14:22:34 +0300
commit39df6dbfad4ecc7ad667995e738fbe9b3b76f850 (patch)
tree3fb9d370b336c4b2a832deb1b445374dceb69358 /include
parent2643500bd2145a1c430d60273f3a6e9d28821834 (diff)
downloadlinux-39df6dbfad4ecc7ad667995e738fbe9b3b76f850.tar.xz
iio: accel: adxl372: factor out buffer and trigger setup
Extract the triggered buffer, trigger allocation, and IRQ request logic from adxl372_probe() into a dedicated adxl372_buffer_setup() helper. This reduces the probe function complexity and prepares for conditionally disabling buffer support on device variants with known FIFO issues. No functional change intended. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions