提交 2b7c809b 编写于 作者: T Thierry Reding 提交者: Linus Walleij

gpio: devres: Improve kerneldoc

Add missing descriptions for some parameters to match the code.
Signed-off-by: NThierry Reding <treding@nvidia.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 67049c50
...@@ -132,6 +132,7 @@ EXPORT_SYMBOL(devm_gpiod_get_index); ...@@ -132,6 +132,7 @@ EXPORT_SYMBOL(devm_gpiod_get_index);
* @index: index of the GPIO to obtain in the consumer * @index: index of the GPIO to obtain in the consumer
* @child: firmware node (child of @dev) * @child: firmware node (child of @dev)
* @flags: GPIO initialization flags * @flags: GPIO initialization flags
* @label: label to attach to the requested GPIO
* *
* GPIO descriptors returned from this function are automatically disposed on * GPIO descriptors returned from this function are automatically disposed on
* driver detach. * driver detach.
...@@ -271,6 +272,7 @@ EXPORT_SYMBOL(devm_gpiod_get_array_optional); ...@@ -271,6 +272,7 @@ EXPORT_SYMBOL(devm_gpiod_get_array_optional);
/** /**
* devm_gpiod_put - Resource-managed gpiod_put() * devm_gpiod_put - Resource-managed gpiod_put()
* @dev: GPIO consumer
* @desc: GPIO descriptor to dispose of * @desc: GPIO descriptor to dispose of
* *
* Dispose of a GPIO descriptor obtained with devm_gpiod_get() or * Dispose of a GPIO descriptor obtained with devm_gpiod_get() or
...@@ -286,6 +288,7 @@ EXPORT_SYMBOL(devm_gpiod_put); ...@@ -286,6 +288,7 @@ EXPORT_SYMBOL(devm_gpiod_put);
/** /**
* devm_gpiod_put_array - Resource-managed gpiod_put_array() * devm_gpiod_put_array - Resource-managed gpiod_put_array()
* @dev: GPIO consumer
* @descs: GPIO descriptor array to dispose of * @descs: GPIO descriptor array to dispose of
* *
* Dispose of an array of GPIO descriptors obtained with devm_gpiod_get_array(). * Dispose of an array of GPIO descriptors obtained with devm_gpiod_get_array().
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册