gpio: tps65912: fix wrong container_of arguments
authorNicolas Saenz Julienne <nicolassaenzj@gmail.com>
Thu, 19 Feb 2015 01:52:25 +0000 (01:52 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:57:39 +0000 (14:57 -0800)
commit3f165340feeaccfbe2afb1bbacfd1460ebec9b75
tree80e736c0a9622519b7d14da60a1c7069445907c9
parent83a2ef9a74681002714a2564b79a85a02c3631e8
gpio: tps65912: fix wrong container_of arguments

commit 2f97c20e5f7c3582c7310f65a04465bfb0fd0e85 upstream.

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 <nicolassaenzj@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-tps65912.c