public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Adam Belay <abelay@novell.com>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: Re: [RFC] power trees
Date: Thu, 11 Aug 2005 11:29:37 -0700	[thread overview]
Message-ID: <20050811182937.GE15803@kroah.com> (raw)
In-Reply-To: <1123735844.4380.64.camel@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

On Thu, Aug 11, 2005 at 04:50:41AM +0000, Adam Belay wrote:
> struct pm_node {
> 	struct semaphore	sem;
> 	struct list_head	children;
> 	struct list_head	child_list;
> 	struct pm_node		*parent;
> 	struct pm_node		*tmp_path;
> 	struct device		*dev;
> 
> 	struct pm_node_driver	*drv;
> 	unsigned int		current_state;
> 	unsigned int		target_state;
> 
> 	unsigned int		num_states;
> 	struct pm_state		*states;
> };

Shouldn't this structure contain a kobject?  Or do you not want to
represent the power node tree in sysfs?

thanks,

greg k-h

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2005-08-11 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-11  4:50 [RFC] power trees Adam Belay
2005-08-11 18:29 ` Greg KH [this message]
2005-08-21 14:00 ` Pavel Machek
2005-08-21 16:15   ` Alan Stern
2005-08-21 17:37     ` Pavel Machek
2005-08-26 23:37       ` Alan Stern
2005-08-27  2:42     ` David Brownell
2005-08-31 10:42       ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050811182937.GE15803@kroah.com \
    --to=greg@kroah.com \
    --cc=abelay@novell.com \
    --cc=linux-pm@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox