pinctrl: spear-plgpio: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 09:31:35 +0000 (10:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:15:06 +0000 (14:15 +0100)
commitcff4c7efbc2a1771af431edad6cf1df2a9d9dd46
tree97cb81dec97242602f107cef2e1f2c238330c001
parent192d3507e2e65790f03ff43aeb1930ae097a8315
pinctrl: spear-plgpio: 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: spear-devel@list.st.com
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spear/pinctrl-plgpio.c