From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933086AbcGGF0g (ORCPT ); Thu, 7 Jul 2016 01:26:36 -0400 Received: from mga09.intel.com ([134.134.136.24]:12668 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932740AbcGGF0e (ORCPT ); Thu, 7 Jul 2016 01:26:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,323,1464678000"; d="scan'208";a="1012267049" Date: Wed, 6 Jul 2016 22:30:35 -0700 From: Bin Gao To: Mika Westerberg Cc: Linus Walleij , Mathias Nyman , Alexandre Courbot , "linux-gpio@vger.kernel.org" , Andy Shevchenko , "linux-kernel@vger.kernel.org" , Ajay Thomas , Yegnesh S Iyer , Bin Gao Subject: Re: [PATCH v4] gpio: add Intel WhiskeyCove GPIO driver Message-ID: <20160707053035.GB115716@worksta> References: <20160627235616.GA9303@worksta> <20160706100715.GA23527@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160706100715.GA23527@lahna.fi.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 06, 2016 at 01:07:15PM +0300, Mika Westerberg wrote: > On Wed, Jul 06, 2016 at 10:57:19AM +0200, Linus Walleij wrote: > > On Tue, Jun 28, 2016 at 1:56 AM, Bin Gao wrote: > > > > > This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. > > > This driver is based on gpio-crystalcove.c. > > > > > > Signed-off-by: Ajay Thomas > > > Signed-off-by: Bin Gao > > > --- > > > Changes in v4: > > > - Converted CTLI_INTCNT_XX macros to less verbose ones INT_DETECT_XX. > > > - Add comments about why there is no .pm for the driver. > > > - Header files re-ordered. > > > - Various coding style change to address Andy's comments. > > > > Mika can I have your ACK/review tag on this driver so I can merge it? > > I prefer to have all Intel stuff bearing your seal of approval. > > Thanks for your trust :) > > I don't have much comments in addition to what you already pointed out. > I'll just wait for the next revision and give my ack then. > > > > +static irqreturn_t wcove_gpio_irq_handler(int irq, void *data) > > > +{ > > > + int pending; > > > + unsigned int p0, p1, virq, gpio; > > > + struct wcove_gpio *wg = data; > > Bin, > > Since you are going to make another iteration, please arrange the > declarations like: > > unsigned int p0, p1, virq, gpio; > struct wcove_gpio *wg = data; > int pending; Yes, will do. Thanks. -Bin