pinctrl/nomadik: use simple or linear IRQ domain
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 26 Sep 2012 17:03:51 +0000 (19:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Oct 2012 06:57:26 +0000 (08:57 +0200)
commit6054b9cae24f7ff09e502cea408dad140210681a
treea23f1b32d668dab5a1ef02cd3f519c365d43d0b6
parent2854d167cc545d0642277bf8b77f972a91146fc6
pinctrl/nomadik: use simple or linear IRQ domain

This alters the Nomadik pinctrl driver to:

- Call irqdomain_add_linear() for the DT case so we get
  all independent from IRQ numbers in this case.
- Call irqdomain_add_simple() for the legacy case, which
  allocates the IRQ descriptors for the Nomadik pin controller
  dynamically.

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