summaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-22 15:00:08 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2016-02-23 19:40:43 +0530
commit38115ead78627b2ef1d127210f34f9c42cd90fac (patch)
tree6fcb4ef3c8d7be53538636f5ad60c350c983b249 /Documentation/driver-model
parent0cf3292cde22f8843ae5d1eeb8466d8121243c1a (diff)
downloadlinux-38115ead78627b2ef1d127210f34f9c42cd90fac.tar.gz
gpio: Add resource management devm_gpio_chip_{add_data,remove}
Add devm wrappers for the gpiochip_add_data() and gpiochip_remove(). Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r--Documentation/driver-model/devres.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 831a5363f6be..8d8f944266a6 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -252,6 +252,8 @@ GPIO
devm_gpiod_get_index_optional()
devm_gpiod_get_optional()
devm_gpiod_put()
+ devm_gpiochip_add_data()
+ devm_gpiochip_remove()
IIO
devm_iio_device_alloc()