]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: 74x164: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Dec 2015 17:20:29 +0000 (18:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:01 +0000 (11:21 +0100)
commitb2afc6f3522c8f49a420cb77f5a9c51fe1d50e33
treefcd456c705daac41c689ae2e668a944d9cdd761d
parentd602ae90a35e66c418189e917395408dd2e85e20
gpio: 74x164: 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: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-74x164.c