diff options
author | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2015-06-10 15:26:27 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-16 11:00:06 +0200 |
commit | 38e003f4b5dc405158b9ce625d8cc2b336d45497 (patch) | |
tree | 7ab6df4d7a41a366b9ec53907dc1ea6f915b9e17 /drivers/gpio/gpio-altera.c | |
parent | gpio: pcf857x: handle only enabled irqs (diff) | |
download | linux-38e003f4b5dc405158b9ce625d8cc2b336d45497.tar.xz linux-38e003f4b5dc405158b9ce625d8cc2b336d45497.zip |
gpio: Fix checkpatch.pl issues
This patch fixes some issues given by checkpatch. Fixes include
bracket placement, spacing and indenting.
Signed-off-by: Daniel Lockyer <thisisdaniellockyer@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
-rw-r--r-- | drivers/gpio/gpio-altera.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 449fb46cb8a0..0f3d336d6303 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -107,7 +107,8 @@ static int altera_gpio_irq_set_type(struct irq_data *d, return -EINVAL; } -static unsigned int altera_gpio_irq_startup(struct irq_data *d) { +static unsigned int altera_gpio_irq_startup(struct irq_data *d) +{ altera_gpio_irq_unmask(d); return 0; |