summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-12-25 11:35:44 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-03 08:46:51 +0100
commit7598160d7d8e3639173db3e37fe35a643c72ace2 (patch)
tree85e51d05e1abad8950810ed7f347f25076cb2524 /drivers/pinctrl
parentpinctrl: single: Delete an error message for a failed memory allocation in pc... (diff)
downloadlinux-7598160d7d8e3639173db3e37fe35a643c72ace2.tar.xz
linux-7598160d7d8e3639173db3e37fe35a643c72ace2.zip
pinctrl: single: Delete an unnecessary return statement in pcs_irq_chain_handler()
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-single.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 2b93d8a07687..bd423132ff9c 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1459,8 +1459,6 @@ static void pcs_irq_chain_handler(struct irq_desc *desc)
pcs_irq_handle(pcs_soc);
/* REVISIT: export and add handle_bad_irq(irq, desc)? */
chained_irq_exit(chip, desc);
-
- return;
}
static int pcs_irqdomain_map(struct irq_domain *d, unsigned int irq,