iio: Add resource managed APIs devm_iio_channel_{get,release) in devres
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 6 Apr 2016 10:31:08 +0000 (16:01 +0530)
committerJonathan Cameron <jic23@kernel.org>
Tue, 19 Apr 2016 18:58:16 +0000 (19:58 +0100)
commite21a294d1e35e890c1b5f0a29df15f75c8934a73
tree808b45ea3fa9e7e3a8658e4fcba8878c03e724dc
parentefc2c0133f198bc65593a67015af358919b0c48f
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>
Documentation/driver-model/devres.txt