]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tps65912: fix wrong container_of arguments
authorNicolas Saenz Julienne <nicolassaenzj@gmail.com>
Thu, 19 Feb 2015 01:52:25 +0000 (01:52 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Feb 2015 14:40:32 +0000 (15:40 +0100)
commitdb8653d10917b7f81505c0c07e8327453d6d96df
treeb11aa8c7e7b859ecc0772da2630b0081e02fa6cd
parent552610a288b511c79c9a7daf23619572561d332c
gpio: tps65912: fix wrong container_of arguments

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.

Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65912.c