gpio: tps65912: fix wrong container_of arguments
authorNicolas Saenz Julienne <nicolassaenzj@gmail.com>
Thu, 19 Feb 2015 01:52:25 +0000 (01:52 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 9 May 2015 22:16:20 +0000 (23:16 +0100)
commit974c554a808b30effcc2a2b235b3bd2a75f173ce
tree1c8729e595562c86812f396883f152f3f481b259
parent508489491f1dc63de67634a73ac255bb03204c25
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: Ben Hutchings <ben@decadent.org.uk>
drivers/gpio/gpio-tps65912.c