Re: [PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:53:45 +0200, Linus Walleij wrote: > The special checks for whether we have a base IRQ offset or not > is surplus if we use the simple IRQ domain. The IRQ offset > zero will be interpreted as a linear domain case. > > Plus this makes sure we allocate descriptors where need

Re: [PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-11-21 Thread Grant Likely
On Fri, 19 Oct 2012 12:53:45 +0200, Linus Walleij linus.wall...@linaro.org wrote: The special checks for whether we have a base IRQ offset or not is surplus if we use the simple IRQ domain. The IRQ offset zero will be interpreted as a linear domain case. Plus this makes sure we allocate

[PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-10-19 Thread Linus Walleij
The special checks for whether we have a base IRQ offset or not is surplus if we use the simple IRQ domain. The IRQ offset zero will be interpreted as a linear domain case. Plus this makes sure we allocate descriptors where need be, or warn if they are preallocated with SPARSE_IRQ. Cc: Grant

[PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-10-19 Thread Linus Walleij
The special checks for whether we have a base IRQ offset or not is surplus if we use the simple IRQ domain. The IRQ offset zero will be interpreted as a linear domain case. Plus this makes sure we allocate descriptors where need be, or warn if they are preallocated with SPARSE_IRQ. Cc: Grant