diff options
author | Gregor Boirie <gregor.boirie@parrot.com> | 2016-09-02 21:47:55 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-04 17:42:46 +0300 |
commit | 70e483487db787b152da756d4be0fef917378142 (patch) | |
tree | 53e07ce3e66eede20b9516083d06f9d5571f4386 /drivers/iio/pressure/ms5611_core.c | |
parent | 9083325f1197a6956db17809d74dbe3578dc1005 (diff) | |
download | linux-70e483487db787b152da756d4be0fef917378142.tar.xz |
iio: add resource managed triggered buffer init helpers
Add resource managed devm_iio_triggered_buffer_setup() and
devm_iio_triggered_buffer_cleanup() to automatically clean up triggered
buffers setup by IIO drivers, thus leading to simplified IIO drivers code.
Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/ms5611_core.c')
0 files changed, 0 insertions, 0 deletions