Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760229Ab0FKNAb (ORCPT ); Fri, 11 Jun 2010 09:00:31 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:55020 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755682Ab0FKNA3 (ORCPT ); Fri, 11 Jun 2010 09:00:29 -0400 Date: Fri, 11 Jun 2010 14:00:23 +0100 From: Mark Brown To: Kyungmin Park Cc: Marek Szyprowski , Liam Girdwood , linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: regulator: add Maxim 8998 driver Message-ID: <20100611130022.GF12436@sirena.org.uk> References: <1276239765-26234-1-git-send-email-m.szyprowski@samsung.com> <20100611105823.GA17546@rakim.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Postage will be paid by addressee. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 21 On Fri, Jun 11, 2010 at 09:48:58PM +0900, Kyungmin Park wrote: > On Fri, Jun 11, 2010 at 7:58 PM, Mark Brown > > On Fri, Jun 11, 2010 at 09:02:45AM +0200, Marek Szyprowski wrote: > >> +static irqreturn_t max8998_ono_irq(int irq, void *data) > >> +{ > >> + ? ? return IRQ_HANDLED; > >> +} > > This needs at least a comment explaining why you don't need to do > > anything for the interrupt. > We just remove it. it's unused function actually. I suspect it may be required for the wake IRQ functionality you're using but ICBW. -- 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/