pinctrl: spear: switch plgpio to irqchip helpers
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 29 May 2014 09:18:48 +0000 (11:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Jun 2014 07:35:12 +0000 (09:35 +0200)
commit22763bf527446fe1f25ac365d846b02fd040e19c
tree77fee62e21bae80c0158cd05b81a928b3a23644e
parentaebdc8abc9db86e2bd33070fc2f961012fff74b4
pinctrl: spear: switch plgpio to irqchip helpers

This switches the SPEAr PLGPIO driver over to using the irqchip
helpers.

As part of this effort, also get rid of the strange irq_base
calculation and failure to use d->hwirq for obtaining a local
irqchip offset.

Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Cc: spear-devel@list.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spear/Kconfig
drivers/pinctrl/spear/pinctrl-plgpio.c