OSDN Git Service

irqchip: s3c24xx: make interrupt handling independent of irq_domain structure
authorHeiko Stuebner <heiko@sntech.de>
Thu, 4 Apr 2013 05:53:52 +0000 (14:53 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 05:56:22 +0000 (14:56 +0900)
commitf5a25524508e68ac670b28db9112d3962dca4703
tree6c3e56d0f95e6a5a16d13c7a7adc970484c7bc8c
parent658dc8fb9cbc7712b1518ce79211ffadcabd1c9e
irqchip: s3c24xx: make interrupt handling independent of irq_domain structure

Keep a pointer to the corresponding s3c_irq_data struct as irq_chip_data.
This removes the need to fetch the intc struct from the irq_domains
host_data, thus making it independent of the underlying irq_domain
structure.

Also keep the real register offset of the interrupt in the s3c_irq_data
struct to make it independent of the hwirq structure in the irq_domain

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/irqchip/irq-s3c24xx.c