]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: lp3943: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:10:13 +0000 (09:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:06 +0000 (11:21 +0100)
commita2f33804657dbd347c4ae23c4e75dbfe950d89d4
treea2494b56fcb9d802fa08eaf043462f05450383dd
parent1f89bccd7fe4f27b05b6404f24a35dcc5426817d
gpio: lp3943: 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: Milo Kim <milo.kim@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lp3943.c