[PATCH 2/4 v2] gpio/em: convert to linear IRQ domain

2012-10-19 Thread Linus Walleij
The code in the em driver seems to want to try to do the job of the linear IRQ domain (allocate descriptors and grab a virtual range). So why not just use the linear IRQ domain? The code is now cut down so we don't need isolated functions for this. Also note that we use irq_create_mapping() to

[PATCH 2/4 v2] gpio/em: convert to linear IRQ domain

2012-10-19 Thread Linus Walleij
The code in the em driver seems to want to try to do the job of the linear IRQ domain (allocate descriptors and grab a virtual range). So why not just use the linear IRQ domain? The code is now cut down so we don't need isolated functions for this. Also note that we use irq_create_mapping() to