diff options
| author | Kunihiko Hayashi <[email protected]> | 2021-09-16 11:19:35 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2021-09-22 09:19:29 +0000 |
| commit | 2dd824cca3407bc9a2bd11b00f6e117b66fcfcf1 (patch) | |
| tree | 93d42d61d89647cbdf8763dd4ead42cb0242af6e /drivers/gpio/gpio-uniphier.c | |
| parent | gpiolib: acpi: Make set-debounce-timeout failures non fatal (diff) | |
| download | kernel-2dd824cca3407bc9a2bd11b00f6e117b66fcfcf1.tar.gz kernel-2dd824cca3407bc9a2bd11b00f6e117b66fcfcf1.zip | |
gpio: uniphier: Fix void functions to remove return value
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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-uniphier.c')
| -rw-r--r-- | drivers/gpio/gpio-uniphier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index f99f3c10bed0..39dca147d587 100644 --- 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) |
