pinctrl: st: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 08:45:18 +0000 (09:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:14:57 +0000 (14:14 +0100)
commit2e862a7bd63f57fcaa4a3a4929f51c56289f1f80
tree5af22c37bb062042ecdf85839a4cb15f06568113
parent03bf81f1cb49a580d70b7514366760146c3da017
pinctrl: st: use gpiochip data pointer

This makes the driver use the data pointer added to the gpio_chip
to store a pointer to the state container instead of relying on
container_of().

Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c
This page took 0.025946 seconds and 5 git commands to generate.