commit | 9cf519d1c15fa05a538c2b3963c5f3903daf765a | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Sun Dec 18 00:34:01 2011 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Wed Dec 21 22:00:56 2011 +0100 |
tree | 44500e7eba98e682663ab253e4ba7edff7e9f875 | |
parent | b00f4dc5ff022cb9cbaffd376d9454d7fa1e496f [diff] |
PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers Make the pm_op() and pm_noirq_op() functions return pointers to appropriate callbacks instead of executing those callbacks and returning their results. This change is required for a subsequent modification that will execute the corresponding driver callback if the subsystem callback returned by either pm_op(), or pm_noirq_op() is NULL. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>