gpio: use pinctrl device name for add range
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Fri, 18 Jan 2013 07:31:07 +0000 (15:31 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Jan 2013 14:16:22 +0000 (15:16 +0100)
commitef5e3eef6b6b22eb4ad7a893d2299418808667ba
tree0ba205c5fbb05bb8d08e1b99becf7da02923df5a
parentd6e99abb424a916ecbb127dba065a379b460a062
gpio: use pinctrl device name for add range

gpiochip_add_pin_range() needs pinctrl device name as parameter.
Currently the parameter is pinctrl description name. So fix it.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c