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>
This commit is contained in:
Chase Metzger 2016-09-25 13:35:47 -07:00 committed by Greg Kroah-Hartman
parent 7224a2a50a
commit 3d7f358855

View File

@ -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;
}
}
/**