GPIO: gpio-pxa: fix devicetree functions
authorDaniel Mack <zonque@gmail.com>
Wed, 25 Jul 2012 15:35:39 +0000 (17:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 5 Aug 2012 09:39:41 +0000 (11:39 +0200)
commit72121572670973bec6fb1b9fdb454b106b253235
treef3100d2748ca68fd0397d936d718c398021bd9a9
parentf7da0bdbf585c0404fc89901ee4bdb806e70530f
GPIO: gpio-pxa: fix devicetree functions

Provide an of_xlate function for the PXA GPIO chips and make it work for
devicetree environments.

Successfully tested on a PXA3xx board.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pxa.c