浏览代码

gpio: zynq: Fix kernel doc warnings

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Nava kishore Manne 8 年之前
父节点
当前提交
6ae5104cba
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      drivers/gpio/gpio-zynq.c

+ 3 - 2
drivers/gpio/gpio-zynq.c

@@ -133,11 +133,12 @@ struct zynq_gpio {
 /**
 /**
  * struct zynq_platform_data -  zynq gpio platform data structure
  * struct zynq_platform_data -  zynq gpio platform data structure
  * @label:	string to store in gpio->label
  * @label:	string to store in gpio->label
+ * @quirks:	Flags is used to identify the platform
  * @ngpio:	max number of gpio pins
  * @ngpio:	max number of gpio pins
  * @max_bank:	maximum number of gpio banks
  * @max_bank:	maximum number of gpio banks
  * @bank_min:	this array represents bank's min pin
  * @bank_min:	this array represents bank's min pin
  * @bank_max:	this array represents bank's max pin
  * @bank_max:	this array represents bank's max pin
-*/
+ */
 struct zynq_platform_data {
 struct zynq_platform_data {
 	const char *label;
 	const char *label;
 	u32 quirks;
 	u32 quirks;
@@ -180,6 +181,7 @@ static int gpio_data_ro_bug(struct zynq_gpio *gpio)
  *		pin
  *		pin
  * @bank_pin_num: an output parameter used to return pin number within a bank
  * @bank_pin_num: an output parameter used to return pin number within a bank
  *		  for the given gpio pin
  *		  for the given gpio pin
+ * @gpio:	gpio device data structure
  *
  *
  * Returns the bank number and pin offset within the bank.
  * Returns the bank number and pin offset within the bank.
  */
  */
@@ -575,7 +577,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
  * 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'
  * @desc:	irq descriptor instance of the 'irq'
  *
  *
  * This function reads the Interrupt Status Register of each bank to get the
  * This function reads the Interrupt Status Register of each bank to get the