summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-crystalcove.c
diff options
context:
space:
mode:
authorDaniel Lockyer <thisisdaniellockyer@gmail.com>2015-06-10 14:26:27 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-06-16 11:00:06 +0200
commit38e003f4b5dc405158b9ce625d8cc2b336d45497 (patch)
tree7ab6df4d7a41a366b9ec53907dc1ea6f915b9e17 /drivers/gpio/gpio-crystalcove.c
parent84f28998cc96546bb0733d2c238b23f38442ed89 (diff)
downloadlinux-38e003f4b5dc405158b9ce625d8cc2b336d45497.tar.bz2
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-crystalcove.c')
-rw-r--r--drivers/gpio/gpio-crystalcove.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index 2c39811366bf..fddd204dc9b6 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b/drivers/gpio/gpio-crystalcove.c
@@ -95,9 +95,8 @@ static inline int to_reg(int gpio, enum ctrl_register reg_type)
{
int reg;
- if (gpio == 94) {
+ if (gpio == 94)
return GPIOPANELCTL;
- }
if (reg_type == CTRL_IN) {
if (gpio < 8)