commit | 937daafca774b05633f436c19885c8cb3cbdcc8a | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 15:53:29 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:53:23 2016 +0200 |
tree | d7cab42d1040a77f37afda8d6851061d886c313b | |
parent | 1e714e54b5ca5bfc75bc43ed41f8217242e831fe [diff] |
powerpc: simple-gpio: 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: Anton Vorontsov <anton@enomsg.org> 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>