Commit 38115ead authored by Laxman Dewangan's avatar Laxman Dewangan
Browse files

gpio: Add resource management devm_gpio_chip_{add_data,remove}



Add devm wrappers for the gpiochip_add_data() and gpiochip_remove().

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
parent 0cf3292c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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()