linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: xilinx: Fix kernel-doc warnings
@ 2015-05-04 14:37 Michal Simek
  2015-05-12  7:56 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2015-05-04 14:37 UTC (permalink / raw)
  To: linux-arm-kernel

Fix kernel-doc format:
- Add gpio-width description
- Remove additional "inited" variable description
- Add return value description - xgpio_remove

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/gpio/gpio-xilinx.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c
index 61243d177740..77fe5d3cb105 100644
--- a/drivers/gpio/gpio-xilinx.c
+++ b/drivers/gpio/gpio-xilinx.c
@@ -41,10 +41,10 @@
 /**
  * struct xgpio_instance - Stores information about GPIO device
  * @mmchip: OF GPIO chip for memory mapped banks
+ * @gpio_width: GPIO width for every channel
  * @gpio_state: GPIO state shadow register
  * @gpio_dir: GPIO direction shadow register
  * @gpio_lock: Lock used for synchronization
- * @inited: True if the port has been inited
  */
 struct xgpio_instance {
 	struct of_mm_gpio_chip mmchip;
@@ -231,6 +231,8 @@ static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc)
  * @pdev: pointer to the platform device
  *
  * This function remove gpiochips and frees all the allocated resources.
+ *
+ * Return: 0 always
  */
 static int xgpio_remove(struct platform_device *pdev)
 {
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] gpio: xilinx: Fix kernel-doc warnings
  2015-05-04 14:37 [PATCH] gpio: xilinx: Fix kernel-doc warnings Michal Simek
@ 2015-05-12  7:56 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2015-05-12  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 4, 2015 at 4:37 PM, Michal Simek <michal.simek@xilinx.com> wrote:

> Fix kernel-doc format:
> - Add gpio-width description
> - Remove additional "inited" variable description
> - Add return value description - xgpio_remove
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-12  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 14:37 [PATCH] gpio: xilinx: Fix kernel-doc warnings Michal Simek
2015-05-12  7:56 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).