pinctrl: abx500: fix abx500_gpio_get()
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 20 Jun 2013 14:05:43 +0000 (16:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Jun 2013 11:31:00 +0000 (13:31 +0200)
commitd8d4f7f875bb8f94c52583a788e456eabbd6281a
treec922e7462c737b1a25ddc146fc57ee26aabfb600
parent61ce135679d2b0b38f55edc7833b4b1f32c890ed
pinctrl: abx500: fix abx500_gpio_get()

- allow to get output GPIO value
- as there is no GPIO0 on ABX500, use correct offset with
  abx500_gpio_get_bit()

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-abx500.c