Browse Source

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 years ago
parent
commit
38115ead78
1 changed files with 2 additions and 0 deletions
  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()