]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6573ca8b3a0c225008c6807e43e64b9ba34a04fa
tree8a302bfe4687cbc2f0e7d4177874e5d8db5dd86c
parentd356db578e66a96ec8f92144a0c4e2026f87e5fe
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