aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer/kfifo_buf.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2021-02-15 12:40:23 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:47:01 +0000
commite03ed893e2cf7305183b3314ae80daa1e97667b2 (patch)
treea0729a67386d2476ff5ebc25b135c1871d5bb88a /drivers/iio/buffer/kfifo_buf.c
parentiio: make use of devm_iio_kfifo_buffer_setup() helper (diff)
downloadlinux-dev-e03ed893e2cf7305183b3314ae80daa1e97667b2.tar.xz
linux-dev-e03ed893e2cf7305183b3314ae80daa1e97667b2.zip
iio: accel: sca3000: use devm_iio_kfifo_buffer_setup() helper
This change makes use of the devm_iio_kfifo_buffer_setup() helper, however the unwind order is changed. The life-time of the kfifo object is attached to the parent device object. This is to make the driver a bit more consistent with the other IIO drivers, even though (as it is now before this change) it shouldn't be a problem. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20210215104043.91251-5-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/buffer/kfifo_buf.c')
0 files changed, 0 insertions, 0 deletions