Commit 3d7f3588 authored by Chase Metzger's avatar Chase Metzger Committed by Greg Kroah-Hartman

drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning

Removed braces for single line if statement.
Signed-off-by: default avatarChase Metzger <chasemetzger15@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7224a2a5
......@@ -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;
}
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment