From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH] gpio: tps65912: fix wrong container_of arguments Date: Fri, 20 Feb 2015 10:42:50 +0100 Message-ID: References: <1424310745-28101-1-git-send-email-nicolassaenzj@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1424310745-28101-1-git-send-email-nicolassaenzj@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Nicolas Saenz Julienne Cc: Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" List-Id: linux-gpio@vger.kernel.org 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. > > Signed-off-by: Nicolas Saenz Julienne Wut? Has this driver ever worked?? Patch applied and tagged for stable, thanks a lot. Yours, Linus Walleij