summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChase Metzger <chasemetzger15@gmail.com>2016-09-25 13:35:47 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 12:59:51 +0200
commit3d7f3588553a9ee392aa1abb5a3e8fd4b1ba8f5e (patch)
tree79c69cb5d8acb5f109a85f238166d0fb9a2f1378
parent7224a2a50a29871b2ae04cac731ea199adedbe68 (diff)
downloadop-kernel-dev-3d7f3588553a9ee392aa1abb5a3e8fd4b1ba8f5e.zip
op-kernel-dev-3d7f3588553a9ee392aa1abb5a3e8fd4b1ba8f5e.tar.gz
drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning
Removed braces for single line if statement. Signed-off-by: Chase Metzger <chasemetzger15@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/greybus/gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index ea8234a..5e06e42 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -561,9 +561,8 @@ static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc)
irq_domain_remove(ggc->irqdomain);
}
- if (ggc->irqchip) {
+ if (ggc->irqchip)
ggc->irqchip = NULL;
- }
}
/**
OpenPOWER on IntegriCloud