pinctrl/nomadik: always use the simple irqdomain
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Oct 2012 14:33:44 +0000 (16:33 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 07:09:27 +0000 (09:09 +0200)
commit51f58c68a364363b29c07668c90af19c9b8a8c85
tree8a302bfe4687cbc2f0e7d4177874e5d8db5dd86c
parentb7213702662e2139be92c4a3efe6682529f7a729
pinctrl/nomadik: always use the simple irqdomain

Since the simple irqdomain will fall back to a linear domain
if the first_irq provided is <= 0, just use this, just make
sure the first_irq is negative in the device tree case.

Cc: Rob Herring <rob.herring@calxeda.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c