PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 17 Dec 2011 23:34:01 +0000 (00:34 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 21 Dec 2011 21:00:56 +0000 (22:00 +0100)
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>

No differences found