pinctrl/nomadik: use irq_find_mapping()
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Sep 2012 12:14:09 +0000 (14:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Sep 2012 07:31:26 +0000 (09:31 +0200)
commit95f0bc9bf0db600fbefda9d2157b95d5ff55e783
tree55f311babceacd23ed477ab5618afefdcb3c718d
parent6fd4011e165e4a28c06a044c919161e657138181
pinctrl/nomadik: use irq_find_mapping()

The code was using a homegrown method of looking up the offset
from the irq domain, not to be encouraged. Use the proper
irq_find_mapping() call instead.

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