From: Chase Metzger Date: Sun, 25 Sep 2016 20:35:47 +0000 (-0700) Subject: drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d7f3588553a9ee392aa1abb5a3e8fd4b1ba8f5e;p=linux-beck.git drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning Removed braces for single line if statement. Signed-off-by: Chase Metzger Acked-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c index ea8234abf185..5e06e4229e42 100644 --- a/drivers/staging/greybus/gpio.c +++ b/drivers/staging/greybus/gpio.c @@ -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; - } } /**