[PATCH 1/2] PM / Domains: Add OF support
From: Grant Likely <hidden>
Date: 2012-01-02 06:59:56
Also in:
linux-devicetree, linux-samsung-soc
From: Grant Likely <hidden>
Date: 2012-01-02 06:59:56
Also in:
linux-devicetree, linux-samsung-soc
On Mon, Dec 26, 2011 at 08:13:19PM +0100, Rafael J. Wysocki wrote:
Hi, On Monday, December 12, 2011, Thomas Abraham wrote:quoted
A device node pointer is added to generic pm domain structure to associate the domain with a node in the device tree.That sounds fine except for one thing: PM domains are not devices, so adding "device node" pointers to them is kind of confusing. Perhaps there should be something like struct dt_node, representing a more general device tree node?
struct device_node has nothing to do with struct device. device_node is a generic device tree node. Thomas' approach is fine. g.