Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756380Ab1FTXho (ORCPT ); Mon, 20 Jun 2011 19:37:44 -0400 Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]:52308 "EHLO na3sys009aog105.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756165Ab1FTXhn (ORCPT ); Mon, 20 Jun 2011 19:37:43 -0400 From: Kevin Hilman To: "Rafael J. Wysocki" Cc: Linux PM mailing list , "Greg Kroah-Hartman" , Magnus Damm , Paul Walmsley , Alan Stern , LKML , linux-sh@vger.kernel.org Subject: Re: [PATCH 2/8] PM / Domains: Rename struct dev_power_domain to struct dev_pm_domain Organization: Texas Instruments, Inc. References: <201106112223.04972.rjw@sisk.pl> <201106112226.07631.rjw@sisk.pl> Date: Mon, 20 Jun 2011 16:37:39 -0700 In-Reply-To: <201106112226.07631.rjw@sisk.pl> (Rafael J. Wysocki's message of "Sat, 11 Jun 2011 22:26:07 +0200") Message-ID: <87fwn45b24.fsf@ti.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 29 "Rafael J. Wysocki" writes: > From: Rafael J. Wysocki > > The naming convention used by commit 7538e3db6e015e890825fbd9f86599b > (PM: Add support for device power domains), which introduced the > struct dev_power_domain type for representing device power domains, > evidently confuses some developers who tend to think that objects > of this type must correspond to "power domains" as defined by > hardware, which is not the case. Namely, at the kernel level, a > struct dev_power_domain object can represent arbitrary set of devices > that are mutually dependent power management-wise and need not belong > to one hardware power domain. To avoid that confusion, rename struct > dev_power_domain to struct dev_pm_domain and rename the related > pointers in struct device and struct pm_clk_notifier_block from > pwr_domain to pm_domain. > > Signed-off-by: Rafael J. Wysocki Acked-by: Kevin Hilman Thanks! Kevin -- 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/