pinctrl: sirf: replace of_gpio_simple_xlate by sirf specific of_xlate
authorBarry Song <Baohua.Song@csr.com>
Mon, 4 Feb 2013 09:53:34 +0000 (17:53 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 14:27:39 +0000 (15:27 +0100)
commit228f1ce9b8e9e63c3ffc1b03b64d77277cacb89f
tree2a14629e570f67b7af5b59d8be760813a04f3737
parenta1ed26703e5e7db1be21177df22558370dc599e6
pinctrl: sirf: replace of_gpio_simple_xlate by sirf specific of_xlate

the default of_gpio_simple_xlate() will make us fail while getting gpios
bigger than 32 by of_get_named_gpio() or related APIs.
this patch adds a specific of_xlate callback for sirf gpio_chip and fix
the problem.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sirf.c