commit | a14a2d484b386972f9027246dbe5d066519edb9f | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 15:05:43 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:52:37 2016 +0200 |
tree | fd0f749a0e9822168b8598c571a5cb49580d3ab0 | |
parent | e65078f1f3490c753f8c223b088e8a482968b891 [diff] |
powerpc: cpm_common: 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>