Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759484Ab1CDLNJ (ORCPT ); Fri, 4 Mar 2011 06:13:09 -0500 Received: from cassiel.sirena.org.uk ([80.68.93.111]:45399 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759340Ab1CDLNG (ORCPT ); Fri, 4 Mar 2011 06:13:06 -0500 Date: Fri, 4 Mar 2011 11:12:53 +0000 From: Mark Brown To: Abhijeet Dharmapurikar Cc: Russell King , Andrew Morton , David Collins , linux-arm-msm@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Grant Likely , Bryan Huntsman , Stepan Moskovchenko , Linus Walleij , Joe Perches , Daniel Walker , davidb@codeaurora.org, "David S. Miller" , linux-arm-kernel@lists.infradead.org, Samuel Ortiz Subject: Re: [Qualcomm PM8921 MFD 2/6] mfd: pm8xxx: Add irq support Message-ID: <20110304111253.GA17653@sirena.org.uk> References: <1299104001-5240-1-git-send-email-adharmap@codeaurora.org> <1299104001-5240-3-git-send-email-adharmap@codeaurora.org> <20110302224616.GB32325@opensource.wolfsonmicro.com> <4D6F1B2B.3090706@codeaurora.org> <20110303152242.GB32234@opensource.wolfsonmicro.com> <4D701C44.7090506@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D701C44.7090506@codeaurora.org> X-Cookie: There are no games on this system. 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: 563 Lines: 14 On Thu, Mar 03, 2011 at 02:55:00PM -0800, Abhijeet Dharmapurikar wrote: > Mark Brown wrote: >> Could you deal with this with a library instead? > Can you please clarify what a library means here? You can share the code without creating a struct device, just have the driver for each chip call into the common code. -- 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/