MIPS: txx9: iocled: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:40:40 +0000 (14:40 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:44 +0000 (09:51 +0100)
commitbe7658f71e6459dd8729946c55c9ac39112c0281
tree7d670bf37ab7300c5c4040d62a24f46544b7eade
parent41f6f8ecb7e0132e5dff9eb9e08c53e1e07661df
MIPS: txx9: iocled: 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: linux-mips@linux-mips.org
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/txx9/generic/setup.c
This page took 0.026086 seconds and 5 git commands to generate.