gpio: octeon: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 10:13:27 +0000 (11:13 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:10 +0000 (11:21 +0100)
commitf5cc554e1cf17482781069b671090d3a35d5413b
treee99dfee567de9e46d976e7abffd0fc7a067eae80
parentbbe760041a05d51746f1b1cd658aaef91466bafc
gpio: octeon: 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().

Reviewed-by: David Daney <david.daney@cavium.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-octeon.c
This page took 0.023895 seconds and 5 git commands to generate.