diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-13 16:29:47 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-17 23:36:30 +0100 |
commit | c48825251cf5950da9d618144c4db6c130e6c0cd (patch) | |
tree | 2e8a163cfaddfdb78243f0ba501b1923e3d7d3be /kernel | |
parent | PM / Sleep: Drop suspend_stats_update() (diff) | |
download | linux-c48825251cf5950da9d618144c4db6c130e6c0cd.tar.xz linux-c48825251cf5950da9d618144c4db6c130e6c0cd.zip |
PM: Add comment describing relationships between PM callbacks to pm.h
The UNIVERSAL_DEV_PM_OPS() macro is slightly misleading, because it
may suggest that it's a good idea to point runtime PM callback
pointers to the same routines as system suspend/resume callbacks
.suspend() and .resume(), which is not the case. For this reason,
add a comment to include/linux/pm.h, next to the definition of
UNIVERSAL_DEV_PM_OPS(), describing how device PM callbacks are
related to each other.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions