Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754214AbbBTJmw (ORCPT ); Fri, 20 Feb 2015 04:42:52 -0500 Received: from mail-oi0-f54.google.com ([209.85.218.54]:55460 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbbBTJmu (ORCPT ); Fri, 20 Feb 2015 04:42:50 -0500 MIME-Version: 1.0 In-Reply-To: <1424310745-28101-1-git-send-email-nicolassaenzj@gmail.com> References: <1424310745-28101-1-git-send-email-nicolassaenzj@gmail.com> Date: Fri, 20 Feb 2015 10:42:50 +0100 Message-ID: Subject: Re: [PATCH] gpio: tps65912: fix wrong container_of arguments From: Linus Walleij To: Nicolas Saenz Julienne Cc: Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 744 Lines: 20 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/