From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Baechle Subject: Re: [PATCH 140/182] MIPS: rb532: use gpiochip data pointer Date: Wed, 9 Dec 2015 14:56:37 +0100 Message-ID: <20151209135637.GN4722@linux-mips.org> References: <1449668401-4687-1-git-send-email-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eddie.linux-mips.org ([148.251.95.138]:42832 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754883AbbLIN4m (ORCPT ); Wed, 9 Dec 2015 08:56:42 -0500 Received: from localhost.localdomain ([127.0.0.1]:39072 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27013578AbbLIN4kt26K9 (ORCPT ); Wed, 9 Dec 2015 14:56:40 +0100 Content-Disposition: inline In-Reply-To: <1449668401-4687-1-git-send-email-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , linux-mips@linux-mips.org On Wed, Dec 09, 2015 at 02:40:01PM +0100, Linus Walleij wrote: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). > > Cc: Ralf Baechle > Cc: linux-mips@linux-mips.org > Signed-off-by: Linus Walleij > --- > Ralf: please ACK this so I can take it through the GPIO tree. > BTW: would be nice if the MIPS GPIO drivers could move down > to drivers/gpio in the long run. This should compile with > just #include , I hope that works. Acked-by: Ralf Baechle Ralf