]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
gpio: gpio-zynq.c: Fix kernel doc warnings
authorNava kishore Manne <nava.manne@xilinx.com>
Wed, 19 Apr 2017 09:24:19 +0000 (14:54 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 12:13:21 +0000 (14:13 +0200)
This patch fixes the kernel doc warnings in the driver.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpio/gpio-zynq.c

index 1fcfd7fb3a2a759c511ec05a8e788c42a0acb029..6f66baf46046e3da19f208b8eb7c1d557f51db64 100644 (file)
@@ -134,6 +134,7 @@ struct zynq_gpio {
 /**
  * struct zynq_platform_data -  zynq gpio platform data structure
  * @label:     string to store in gpio->label
+ * @quirks:    Flags is used to identify the platform
  * @ngpio:     max number of gpio pins
  * @max_bank:  maximum number of gpio banks
  * @bank_min:  this array represents bank's min pin
@@ -159,6 +160,7 @@ static struct irq_chip zynq_gpio_edge_irqchip;
  *             pin
  * @bank_pin_num: an output parameter used to return pin number within a bank
  *               for the given gpio pin
+ * @gpio:      gpio device data structure
  *
  * Returns the bank number and pin offset within the bank.
  */
@@ -573,7 +575,6 @@ static void zynq_gpio_handle_bank_irq(struct zynq_gpio *gpio,
 
 /**
  * zynq_gpio_irqhandler - IRQ handler for the gpio banks of a gpio device
- * @irq:       irq number of the gpio bank where interrupt has occurred
  * @desc:      irq descriptor instance of the 'irq'
  *
  * This function reads the Interrupt Status Register of each bank to get the