From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-pm <linux-pm@lists.linux-foundation.org>,
Pavel Machek <pavel@ucw.cz>
Subject: Re: [PATCH] power management: force pm_ops.valid callback to be assigned
Date: Thu, 22 Mar 2007 22:15:21 +0100 [thread overview]
Message-ID: <200703222215.22040.rjw@sisk.pl> (raw)
In-Reply-To: <1174571042.32051.2.camel@johannes.berg>
On Thursday, 22 March 2007 14:44, Johannes Berg wrote:
> This patch changes the docs and behaviour from "all states valid" to
> "no states valid" if no .valid callback is assigned. Users of pm_ops
> that only need mem sleep can assign pm_valid_only_mem without any
> overhead, others will require more elaborate callbacks.
>
> Now that all users of pm_ops have a .valid callback this is a safe
> thing to do and prevents things from getting messy again as they
> were before.
Looks okay to me.
Rafael
next prev parent reply other threads:[~2007-03-22 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 13:44 [PATCH] power management: force pm_ops.valid callback to be assigned Johannes Berg
2007-03-22 21:15 ` Rafael J. Wysocki [this message]
2007-03-25 16:30 ` Pavel Machek
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=200703222215.22040.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=akpm@linux-foundation.org \
--cc=johannes@sipsolutions.net \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@ucw.cz \
/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