]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: tc3589x: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Dec 2015 14:37:29 +0000 (15:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:15 +0000 (11:21 +0100)
commitb0d384733c05906b807cbb9a1b732ad12b521dbe
tree7c0232a89318d9498561365f8fe5e0650cd6762b
parent0ca8c5c4af758b2a8d763b33508f99a3116c3c01
gpio: tc3589x: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c