diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2013-08-16 15:11:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-17 20:34:52 +0200 |
commit | d536321df392ee0db6a5e92d98f0303020315f40 (patch) | |
tree | c3616492e72328c7a76ab22445d61f9bb167628c /drivers/iio/light/hid-sensor-als.c | |
parent | iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver (diff) | |
download | linux-d536321df392ee0db6a5e92d98f0303020315f40.tar.xz linux-d536321df392ee0db6a5e92d98f0303020315f40.zip |
iio: trigger: implement devm_iio_trigger_alloc/devm_iio_triger_free
Add a resource managed devm_iio_trigger_alloc()/devm_iio_triger_free()
to automatically clean up triggers allocated by IIO drivers, thus
leading to simplified IIO drivers code.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyunmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/hid-sensor-als.c')
0 files changed, 0 insertions, 0 deletions