pinctrl: stm32: fix bad location of gpiochip_lock_as_irq
commitdca72e09e0cd50f7caa8517264f552657b671a69
authorAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 27 Jan 2017 16:15:14 +0000 (27 17:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2017 15:26:28 +0000 (30 16:26 +0100)
tree056e8a96747c4aaef60e1f7fb4bdf6f99940b6eb
parent838adb576d4a3da03d4e35a3149dc015dfeec299
pinctrl: stm32: fix bad location of gpiochip_lock_as_irq

Move gpio lock as irq from "domain alloc" callback to "domain activate"
callback. It will allow to use gpiolib sysfs correctly.

Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c