Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thierry Reding and committed by
Linus Walleij
2b7c809b 67049c50

+3
+3
drivers/gpio/devres.c
··· 132 132 * @index: index of the GPIO to obtain in the consumer 133 133 * @child: firmware node (child of @dev) 134 134 * @flags: GPIO initialization flags 135 + * @label: label to attach to the requested GPIO 135 136 * 136 137 * GPIO descriptors returned from this function are automatically disposed on 137 138 * driver detach. ··· 272 271 273 272 /** 274 273 * devm_gpiod_put - Resource-managed gpiod_put() 274 + * @dev: GPIO consumer 275 275 * @desc: GPIO descriptor to dispose of 276 276 * 277 277 * Dispose of a GPIO descriptor obtained with devm_gpiod_get() or ··· 288 286 289 287 /** 290 288 * devm_gpiod_put_array - Resource-managed gpiod_put_array() 289 + * @dev: GPIO consumer 291 290 * @descs: GPIO descriptor array to dispose of 292 291 * 293 292 * Dispose of an array of GPIO descriptors obtained with devm_gpiod_get_array().