Re: [PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-28 Thread Linus Walleij
On Fri, Jan 25, 2013 at 5:59 PM, Gregory CLEMENT wrote: > This switches the legacy irqdomain to the simple one, which will > auto-allocate descriptors, and also make sure that we use > irq_create_mapping() in the to_irq function. Also use the map function > of irq_domain_ops to setup the irq

Re: [PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-28 Thread Linus Walleij
On Fri, Jan 25, 2013 at 5:59 PM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: This switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Also use the map function of

[PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-25 Thread Gregory CLEMENT
This switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Also use the map function of irq_domain_ops to setup the irq configuration on demand and no more statically during the

[PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-25 Thread Linus Walleij
This switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-pca953x.c | 35 ++- 1 file changed, 10

[PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-25 Thread Linus Walleij
This switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/gpio/gpio-pca953x.c | 35 ++-

[PATCH 1/2] gpio: pca953x: use simple irqdomain

2013-01-25 Thread Gregory CLEMENT
This switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Also use the map function of irq_domain_ops to setup the irq configuration on demand and no more statically during the