提交 3d7f3588 编写于 作者: C Chase Metzger 提交者: Greg Kroah-Hartman

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

Removed braces for single line if statement.
Signed-off-by: NChase Metzger <chasemetzger15@gmail.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册