mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
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:
parent
7224a2a50a
commit
3d7f358855
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user