Re: [PATCH] gpio: tps65912: fix wrong container_of arguments

2015-02-20 Thread Linus Walleij
On Thu, Feb 19, 2015 at 2:52 AM, Nicolas Saenz Julienne wrote: > The gpio_chip operations receive a pointer the gpio_chip struct which is > contained in the driver's private struct, yet the container_of call in those > functions point to the mfd struct defined in include/linux/mfd/tps65912.h. > >

[PATCH] gpio: tps65912: fix wrong container_of arguments

2015-02-18 Thread Nicolas Saenz Julienne
The gpio_chip operations receive a pointer the gpio_chip struct which is contained in the driver's private struct, yet the container_of call in those functions point to the mfd struct defined in include/linux/mfd/tps65912.h. Signed-off-by: Nicolas Saenz Julienne --- drivers/gpio/gpio-tps65912.c