irqchip/gicv3-its: Split its_alloc_tables() into two functions
authorShanker Donthineni <shankerd@codeaurora.org>
Mon, 6 Jun 2016 23:17:30 +0000 (18:17 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 13 Jun 2016 10:53:52 +0000 (11:53 +0100)
commit9347359ad0aeeed16bf8c2d4576a2c40edaa9c85
treee58808bce34728cf6faa2d6c9e74da3fa8213535
parent4b75c4598b5b8312b8e3d37b6486729cf333dbf5
irqchip/gicv3-its: Split its_alloc_tables() into two functions

The function is getting out of control, it has too many goto
statements and would be too complicated for adding a feature
two-level device table. So, it is time for us to cleanup and
move some of the logic to a separate function without affecting
the existing functionality.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h