Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754304AbYLNWKn (ORCPT ); Sun, 14 Dec 2008 17:10:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751823AbYLNWKe (ORCPT ); Sun, 14 Dec 2008 17:10:34 -0500 Received: from mail.openmoko.org ([88.198.124.205]:58844 "EHLO mail.openmoko.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751738AbYLNWKe (ORCPT ); Sun, 14 Dec 2008 17:10:34 -0500 Date: Mon, 15 Dec 2008 03:40:19 +0530 From: Balaji Rao To: linux-kernel@vger.kernel.org Cc: Andy Green , Anton Vorontsov , David Woodhouse Subject: Re: [PATCH 5/7] power_supply: PCF50633 battery charger driver Message-ID: <20081214221018.GB2741@cff.thadambail> References: <20081214110152.3307.50843.stgit@cff.thadambail> <20081214110323.3307.84154.stgit@cff.thadambail> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081214110323.3307.84154.stgit@cff.thadambail> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 27 On Sun, Dec 14, 2008 at 04:33:23PM +0530, Balaji Rao wrote: > + > +static int __devexit pcf50633_mbc_remove(struct platform_device *pdev) > +{ > + struct pcf50633 *pcf; > + > + pcf = platform_get_drvdata(pdev); > + > + /* Remove IRQ handlers */ > + for (i = 0; i < ARRAY_SIZE(mbc_irq_handlers); i++) > + pcf->irq_handler[mbc_irq_handlers[i]] = NULL; > + > + return 0; > +} > + Whoops! 'i not declared'. Oh., These last minute changes.. Will wait for more comments before sending a fixed version. - Balaji > -- 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/