diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-06 16:01:08 +0530 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-19 19:58:16 +0100 |
commit | e21a294d1e35e890c1b5f0a29df15f75c8934a73 (patch) | |
tree | 808b45ea3fa9e7e3a8658e4fcba8878c03e724dc /Documentation/driver-model | |
parent | efc2c0133f198bc65593a67015af358919b0c48f (diff) | |
download | linux-next-e21a294d1e35e890c1b5f0a29df15f75c8934a73.tar.gz |
iio: Add resource managed APIs devm_iio_channel_{get,release) in devres
Add following APIs in the list of managed resources of IIO:
devm_iio_channel_get()
devm_iio_channel_get_all()
devm_iio_channel_release()
devm_iio_channel_release_all()
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 73b98dfbcea4..bdc2dfbe6795 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -267,6 +267,10 @@ IIO devm_iio_kfifo_free() devm_iio_trigger_alloc() devm_iio_trigger_free() + devm_iio_channel_get() + devm_iio_channel_release() + devm_iio_channel_get_all() + devm_iio_channel_release_all() IO region devm_release_mem_region() |