From: Laxman Dewangan Date: Wed, 6 Apr 2016 10:31:08 +0000 (+0530) Subject: iio: Add resource managed APIs devm_iio_channel_{get,release) in devres X-Git-Tag: v4.14-rc1~2869^2~2^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e21a294d1e35e890c1b5f0a29df15f75c8934a73;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 73b98df..bdc2dfb 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()