pinctrl: stm32: fix compile error and modernize
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Feb 2016 22:47:13 +0000 (23:47 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Feb 2016 22:47:13 +0000 (23:47 +0100)
commit1300568ac129a83f321fdb74e397942f583c8321
tree35ce5ce956422319df68a8950adfbd1d94fba4e0
parent25cbac7716be6a8d5c57534645ca472d2e4be1fd
pinctrl: stm32: fix compile error and modernize

- Fix the dev->parent assignment compile error
- Use gpiochip_get_data() to get the data pointer for the
  banks

Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c