diff options
| author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2026-03-21 13:04:58 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-21 14:22:34 +0300 |
| commit | 39df6dbfad4ecc7ad667995e738fbe9b3b76f850 (patch) | |
| tree | 3fb9d370b336c4b2a832deb1b445374dceb69358 /include/linux | |
| parent | 2643500bd2145a1c430d60273f3a6e9d28821834 (diff) | |
| download | linux-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/linux')
0 files changed, 0 insertions, 0 deletions
