From: Laxman Dewangan Date: Mon, 22 Feb 2016 09:30:08 +0000 (+0530) Subject: gpio: Add resource management devm_gpio_chip_{add_data,remove} X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38115ead78627b2ef1d127210f34f9c42cd90fac;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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()