From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [patch/rft 2.6.28-rc3-omap] twl4030-core simplification Date: Thu, 13 Nov 2008 16:42:44 -0800 Message-ID: <20081114004243.GB3106@atomide.com> References: <200811071645.15687.david-b@pacbell.net> <20081113222626.GM3106@atomide.com> <200811131615.09767.david-b@pacbell.net> <20081114002948.GB19711@frodo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-bos.mailhop.org ([63.208.196.178]:56032 "EHLO mho-01-bos.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbYKNAmu (ORCPT ); Thu, 13 Nov 2008 19:42:50 -0500 Content-Disposition: inline In-Reply-To: <20081114002948.GB19711@frodo> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Felipe Balbi Cc: David Brownell , linux-omap@vger.kernel.org, Samuel Ortiz * Felipe Balbi [081113 16:36]: > On Thu, Nov 13, 2008 at 04:15:09PM -0800, David Brownell wrote: > > On Thursday 13 November 2008, Tony Lindgren wrote: > > > * David Brownell [081107 16:45]: > > > > From: David Brownell > > > > > > > > Minor cleanup to twl4030-core: define a helper function to populate > > > > a single child node, and use it to replace six inconsistent versions > > > > of the same logic. Both object and source code shrink. > > > > > > > > As part of this, some devices now have more IRQ resources: battery > > > > charger, keypad, ADC, and USB transceiver. That will help to remove > > > > some irq #defines that prevent this code from compiling on non-OMAP > > > > platforms. > > > > > > Pushing to linux-omap tree while waiting for this to fall down from > > > mainline tree via Samuel's queue. > > > > Hmm, better to revert this and send the updated version I sent > > as part of the regulator series... that returns the platform > > device, which is useful in setting up consumers of the regulator > > devices. OK, will do. > > I hadn't gotten any test results other than knowing Felipe was > > using this. So I'll hold off a bit on sending the updated > > patch to Samuel, probably till end-of-week, on the grounds that > > the keypad, battery, and ADC devices didn't get tested yet. > > The new add_child() works quite ok and simplifies a lot the code. But > the regulator driver, I think we can hold a bit as that needs careful > testing. That's to make USB use the twl regulator code, right? Tony