irqchip: gicv3-its: Move some alloc/free code to activate/deactivate
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Dec 2014 10:51:23 +0000 (10:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 13 Dec 2014 12:41:06 +0000 (13:41 +0100)
commitaca268df8a576ad11ce5ecd55d1eabe00c69e3c6
treecaffe48fdb8d8ab3876f470108ddbf1ad310bc4c
parent2da399495fdbd147fa8c4c849fdcc01dad887f70
irqchip: gicv3-its: Move some alloc/free code to activate/deactivate

The ITS code could do a bit less in the alloc/free paths, and a bit
more in the activate/deactivate methods, giving a better separation
between software allocation and HW programing.

Suggested-by: Wuyun Wu (Abel) <wuyun.wu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Yun Wu (Abel) <wuyun.wu@huawei.com>
Cc: Robert Richter <robert.richter@caviumnetworks.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-v3-its.c