mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
efc2c0133f
commit
e21a294d1e
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue