commit | e99190cea39022690193938ff3e80d2faa98f389 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 14:49:42 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:50:47 2016 +0200 |
tree | 66a9913082a2589ef46627fa7a1d6ef07e5a7e53 | |
parent | ca27379f5d2956e08558fbfc0d35b3ba64abbe0c [diff] |
powerpc: mpc52xx_gpt: 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: Anatolij Gustschin <agust@denx.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>