]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: stmpe: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 13:32:13 +0000 (14:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:14 +0000 (11:21 +0100)
commitb03c04a0aab1715ca8c501d41f9175a9047ef79f
treefc497508d1b399aa439a56ab72a262c223904aee
parent0b2c529a3b4d78d700c616e146411594a60cab18
gpio: stmpe: 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: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stmpe.c