diff options
author | Thierry Reding <treding@nvidia.com> | 2017-07-24 10:57:24 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 09:01:13 -0400 |
commit | 2b7c809bd48ad99eb34ac0c3f628b7ae42630191 (patch) | |
tree | 9a3429a0f1a8f6e2f958664b19305c3176b1b1e8 | |
parent | 67049c505017d7b380e16aa4f4b02344c2be0d55 (diff) |
gpio: devres: Improve kerneldoc
Add missing descriptions for some parameters to match the code.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/devres.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c index a75511d1ea5d..afbff155a0ba 100644 --- a/drivers/gpio/devres.c +++ b/drivers/gpio/devres.c | |||
@@ -132,6 +132,7 @@ EXPORT_SYMBOL(devm_gpiod_get_index); | |||
132 | * @index: index of the GPIO to obtain in the consumer | 132 | * @index: index of the GPIO to obtain in the consumer |
133 | * @child: firmware node (child of @dev) | 133 | * @child: firmware node (child of @dev) |
134 | * @flags: GPIO initialization flags | 134 | * @flags: GPIO initialization flags |
135 | * @label: label to attach to the requested GPIO | ||
135 | * | 136 | * |
136 | * GPIO descriptors returned from this function are automatically disposed on | 137 | * GPIO descriptors returned from this function are automatically disposed on |
137 | * driver detach. | 138 | * driver detach. |
@@ -271,6 +272,7 @@ EXPORT_SYMBOL(devm_gpiod_get_array_optional); | |||
271 | 272 | ||
272 | /** | 273 | /** |
273 | * devm_gpiod_put - Resource-managed gpiod_put() | 274 | * devm_gpiod_put - Resource-managed gpiod_put() |
275 | * @dev: GPIO consumer | ||
274 | * @desc: GPIO descriptor to dispose of | 276 | * @desc: GPIO descriptor to dispose of |
275 | * | 277 | * |
276 | * Dispose of a GPIO descriptor obtained with devm_gpiod_get() or | 278 | * Dispose of a GPIO descriptor obtained with devm_gpiod_get() or |
@@ -286,6 +288,7 @@ EXPORT_SYMBOL(devm_gpiod_put); | |||
286 | 288 | ||
287 | /** | 289 | /** |
288 | * devm_gpiod_put_array - Resource-managed gpiod_put_array() | 290 | * devm_gpiod_put_array - Resource-managed gpiod_put_array() |
291 | * @dev: GPIO consumer | ||
289 | * @descs: GPIO descriptor array to dispose of | 292 | * @descs: GPIO descriptor array to dispose of |
290 | * | 293 | * |
291 | * Dispose of an array of GPIO descriptors obtained with devm_gpiod_get_array(). | 294 | * Dispose of an array of GPIO descriptors obtained with devm_gpiod_get_array(). |