]> Git Repo - linux.git/commit - drivers/gpio/gpio-pch.c
gpio: pch: use gpiochip data pointer
authorLinus Walleij <[email protected]>
Mon, 7 Dec 2015 10:34:53 +0000 (11:34 +0100)
committerLinus Walleij <[email protected]>
Tue, 5 Jan 2016 10:21:11 +0000 (11:21 +0100)
commit510f48713711abed9a79aa405147687dd256d072
tree144dfde97c5468858e0b4a8d82d08e3b4cf0e516
parent597358e41070e03479a7724b16eb3c6c7ea50027
gpio: pch: 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: Thierry Reding <[email protected]>
Cc: Daniel Krueger <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
drivers/gpio/gpio-pch.c
This page took 0.072577 seconds and 4 git commands to generate.