gpio/tc3589x: convert to use the simple irqdomain
commita362605b341d95e7209ead8052363cb28dda1c44
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Oct 2012 17:43:53 +0000 (16 19:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Oct 2012 07:42:22 +0000 (26 09:42 +0200)
tree8141907660c4b0f6aaab5cd0a6fe74cf0439ab5d
parent7385500a49b769c95438c111aff92110b06ff751
gpio/tc3589x: convert to use the simple irqdomain

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 Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c