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

From: Linus Walleij
Date: Fri Feb 20 2015 - 04:42:56 EST

On Thu, Feb 19, 2015 at 2:52 AM, Nicolas Saenz Julienne
<nicolassaenzj@xxxxxxxxx> 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.
> Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@xxxxxxxxx>

Wut? Has this driver ever worked??

Patch applied and tagged for stable, thanks a lot.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at