Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -561,10 +561,9 @@ static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc)
		irq_domain_remove(ggc->irqdomain);
		irq_domain_remove(ggc->irqdomain);
	}
	}


	if (ggc->irqchip) {
	if (ggc->irqchip)
		ggc->irqchip = NULL;
		ggc->irqchip = NULL;
}
}
}


/**
/**
 * gb_gpio_irqchip_add() - adds an irqchip to a gpio chip
 * gb_gpio_irqchip_add() - adds an irqchip to a gpio chip