drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning
Subsystems (3)
PATCH 1/1 drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning
Removed braces for single line if statement.
Signed-off-by Chase Metzger <[email protected]>
--- drivers/staging/greybus/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/greybus/gpio.c +1 -2
@@ -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 ; - } }/**
Signature · 1 line
2.1.4
Quoted 12 lines · Chase Metzger
Removed braces for single line if statement.
Signed-off-by Chase Metzger <[email protected]>--- drivers/staging/greybus/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/greybus/gpio.c +0
-0
drivers/staging/greybus/gpio.c static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc) · line 568
Quoted 10 lines
drivers/staging/greybus/gpio.c +1
-2@@ -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 ; - } }/**
Acked-by Viresh Kumar <[email protected]>