summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLucas Stankus <lucas.p.stankus@gmail.com>2021-03-29 00:46:26 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-29 14:17:41 +0300
commit075dff3367efff3c11467401d809e684dd63016e (patch)
tree5462b739906db6ca6ba315526b9a49f2d95ba117 /block
parent44fc4de9bd61ca2c7f5215df5321457af3bece24 (diff)
downloadlinux-075dff3367efff3c11467401d809e684dd63016e.tar.xz
iio: adc: ad7923: use device-managed function for triggered buffer
Converts the iio_triggered_buffer_setup() call to its device-managed counterpart. With this, the error handling routine in the ad7923_probe() function becomes unnecessary as well as the iio_triggered_buffer_cleanup() call. Signed-off-by: Lucas Stankus <lucas.p.stankus@gmail.com> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/fe46a45caaa788f333d78367968272de728f4a6e.1616966903.git.lucas.p.stankus@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions