From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Stern Subject: Re: [RFC][PATCH 1/2] PM: Add support for device power domains Date: Mon, 14 Feb 2011 22:01:25 -0500 (EST) Message-ID: References: <201102142334.47553.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201102142334.47553.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: Mark Brown , LKML , Grant Likely , Linux-pm mailing list List-Id: linux-pm@vger.kernel.org On Mon, 14 Feb 2011, Rafael J. Wysocki wrote: > > I don't have a clear picture of how people are going to want to use > > these dev_power_domain structures. Should there be a > > > > void *priv; > > > > member as well? > > Well, I'm not sure. What would be the purpose of it? It's easy to imagine an SoC with multiple power domains and hence multiple structures. The platform code would need some way to tell those structures apart. But we should get some advice from the people who will actually have to use these things... Alan Stern