Commit 3c1b5c9b authored by Michal Simek's avatar Michal Simek Committed by Linus Walleij

gpio: xilinx: Fix kernel-doc warnings

Fix kernel-doc format:
- Add gpio-width description
- Remove additional "inited" variable description
- Add return value description - xgpio_remove
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a4effddb
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
/** /**
* struct xgpio_instance - Stores information about GPIO device * struct xgpio_instance - Stores information about GPIO device
* @mmchip: OF GPIO chip for memory mapped banks * @mmchip: OF GPIO chip for memory mapped banks
* @gpio_width: GPIO width for every channel
* @gpio_state: GPIO state shadow register * @gpio_state: GPIO state shadow register
* @gpio_dir: GPIO direction shadow register * @gpio_dir: GPIO direction shadow register
* @gpio_lock: Lock used for synchronization * @gpio_lock: Lock used for synchronization
* @inited: True if the port has been inited
*/ */
struct xgpio_instance { struct xgpio_instance {
struct of_mm_gpio_chip mmchip; struct of_mm_gpio_chip mmchip;
...@@ -231,6 +231,8 @@ static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc) ...@@ -231,6 +231,8 @@ static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc)
* @pdev: pointer to the platform device * @pdev: pointer to the platform device
* *
* This function remove gpiochips and frees all the allocated resources. * This function remove gpiochips and frees all the allocated resources.
*
* Return: 0 always
*/ */
static int xgpio_remove(struct platform_device *pdev) static int xgpio_remove(struct platform_device *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment