]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: adp5588: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:05:34 +0000 (15:05 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:02 +0000 (11:21 +0100)
commitf69255ce67b6e6f496d165b48231075262c9a225
tree903e71ec997155b2399cc8b5cfc3a2c610de06a7
parent5060e0e8934ca6685ea8bf185cbe0fa2118a946e
gpio: adp5588: 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: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-adp5588.c