summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-it8761e.c
diff options
context:
space:
mode:
authorDaniel Lockyer <thisisdaniellockyer@gmail.com>2015-06-10 15:26:27 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-06-16 11:00:06 +0200
commit38e003f4b5dc405158b9ce625d8cc2b336d45497 (patch)
tree7ab6df4d7a41a366b9ec53907dc1ea6f915b9e17 /drivers/gpio/gpio-it8761e.c
parentgpio: pcf857x: handle only enabled irqs (diff)
downloadlinux-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-it8761e.c')
-rw-r--r--drivers/gpio/gpio-it8761e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-it8761e.c b/drivers/gpio/gpio-it8761e.c
index dadfc245cf09..30a8f24c92c5 100644
--- a/drivers/gpio/gpio-it8761e.c
+++ b/drivers/gpio/gpio-it8761e.c
@@ -123,7 +123,7 @@ static void it8761e_gpio_set(struct gpio_chip *gc,
curr_vals = inb(reg);
if (val)
- outb(curr_vals | (1 << bit) , reg);
+ outb(curr_vals | (1 << bit), reg);
else
outb(curr_vals & ~(1 << bit), reg);