gpio: max732x: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:58:28 +0000 (09:58 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:07 +0000 (11:21 +0100)
commit0788b6448067f51c53ef0514a82e3d89f91dfabd
treec4d04eb0459754949b0e06520698b123cb8eaed6
parent5e45e019161977c70e236a043133cfa106cebbd9
gpio: max732x: 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: Nicholas Krause <xerofoify@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Semen Protsenko <semen.protsenko@globallogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max732x.c
This page took 0.024007 seconds and 5 git commands to generate.