projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cef0d02
)
gpio: uniphier: Fix void functions to remove return value
author
Kunihiko Hayashi
<hayashi.kunihiko@socionext.com>
Thu, 16 Sep 2021 11:19:35 +0000
(20:19 +0900)
committer
Bartosz Golaszewski
<brgl@bgdev.pl>
Wed, 22 Sep 2021 09:19:29 +0000
(11:19 +0200)
The return type of irq_chip.irq_mask() and irq_chip.irq_unmask() should
be void.
Fixes:
dbe776c2ca54
("gpio: uniphier: add UniPhier GPIO controller driver")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-uniphier.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-uniphier.c
b/drivers/gpio/gpio-uniphier.c
index
f99f3c1
..
39dca14
100644
(file)
--- a/
drivers/gpio/gpio-uniphier.c
+++ b/
drivers/gpio/gpio-uniphier.c
@@
-184,7
+184,7
@@
static void uniphier_gpio_irq_mask(struct irq_data *data)
uniphier_gpio_reg_update(priv, UNIPHIER_GPIO_IRQ_EN, mask, 0);
-
return
irq_chip_mask_parent(data);
+ irq_chip_mask_parent(data);
}
static void uniphier_gpio_irq_unmask(struct irq_data *data)
@@
-194,7
+194,7
@@
static void uniphier_gpio_irq_unmask(struct irq_data *data)
uniphier_gpio_reg_update(priv, UNIPHIER_GPIO_IRQ_EN, mask, mask);
-
return
irq_chip_unmask_parent(data);
+ irq_chip_unmask_parent(data);
}
static int uniphier_gpio_irq_set_type(struct irq_data *data, unsigned int type)