gpio: Add resource management devm_gpio_chip_{add_data,remove}
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 22 Feb 2016 09:30:08 +0000 (15:00 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 23 Feb 2016 14:10:43 +0000 (19:40 +0530)
Add devm wrappers for the gpiochip_add_data() and gpiochip_remove().

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Documentation/driver-model/devres.txt

index 831a5363f6be37756b0016c1c30fc0f46055aff8..8d8f944266a6831a2fa85240bf6e1b194b6bd460 100644 (file)
@@ -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()