]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ar7: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:15:03 +0000 (14:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:43 +0000 (09:51 +0100)
commit0be94b1f11d5e8ff51357324f19ac7fca3742b31
treeaea5d6ecd201063c31ecb98ecf35fc67c3f0a292
parent3d42ee74b9733c4dd591a274f4a3c26a81856f6d
MIPS: ar7: 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
Cc: Alban Bedel <albeu@free.fr>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/ar7/gpio.c