]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: bt8xx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:44:16 +0000 (15:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:03 +0000 (11:21 +0100)
commite51b55236ca61a87bf8d1d61e8366726f7ea704c
tree51a82eac9654fe84d87bf92f86d832f40e60aa84
parentba4a74485a32c1a5ea04e9ce9318cd73ed746fe2
gpio: bt8xx: 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: Michael Buesch <m@bues.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bt8xx.c