diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-13 19:29:47 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-18 02:36:30 +0400 |
commit | c48825251cf5950da9d618144c4db6c130e6c0cd (patch) | |
tree | 2e8a163cfaddfdb78243f0ba501b1923e3d7d3be /kernel/power | |
parent | bc25cf508942c56810d4fb623ef27b56ccef7783 (diff) | |
download | linux-c48825251cf5950da9d618144c4db6c130e6c0cd.tar.xz |
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/power')
0 files changed, 0 insertions, 0 deletions