Skip to content

Commit

Permalink
pinctrl: Fix kernel-doc
Browse files Browse the repository at this point in the history
Fix function name in pinctrl-single.c kernel-doc comment
to remove a warning found by clang_w1.

drivers/pinctrl/pinctrl-single.c:1523: warning: expecting prototype for
pcs_irq_handle(). Prototype was for pcs_irq_chain_handler() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1621998464-10918-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Yang Li authored and Linus Walleij committed May 28, 2021
1 parent 0b97148 commit b9045af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinctrl-single.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ static irqreturn_t pcs_irq_handler(int irq, void *d)
}

/**
* pcs_irq_handle() - handler for the dedicated chained interrupt case
* pcs_irq_chain_handler() - handler for the dedicated chained interrupt case
* @desc: interrupt descriptor
*
* Use this if you have a separate interrupt for each
Expand Down

0 comments on commit b9045af

Please sign in to comment.