]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: bcm-kona: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:39:50 +0000 (15:39 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:03 +0000 (11:21 +0100)
commitba4a74485a32c1a5ea04e9ce9318cd73ed746fe2
treed3d633ce49bc4186c0f3c5f984f6765ec39636ea
parentb4e97a61255cde7e5b2f2484140547ba37c7292c
gpio: bcm-kona: 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: Markus Mayer <markus.mayer@linaro.org>
Cc: Tim Kryger <tim.kryger@linaro.org>
Cc: Matt Porter <matt.porter@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c