浏览代码

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>
Laxman Dewangan 9 年之前
父节点
当前提交
38115ead78
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Documentation/driver-model/devres.txt

+ 2 - 0
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()