]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: lynxpoint: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:21:55 +0000 (09:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:07 +0000 (11:21 +0100)
commitf291e0063ba6c19ec3b60cce08293f78c0faf969
treea082f9302e8d73f5a5953441b00f041e5d7afd6d
parenta9bc97e43f56c0cf9a3f7528f0ed012fe352207c
gpio: lynxpoint: 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: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lynxpoint.c