Skip to content

Commit

Permalink
iio: Add resource managed APIs devm_iio_channel_{get,release) in devres
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laxman Dewangan authored and Jonathan Cameron committed Apr 19, 2016
1 parent efc2c01 commit e21a294
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/driver-model/devres.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e21a294

Please sign in to comment.