]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM: Drop generic_subsys_pm_ops
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 17 Dec 2011 23:34:42 +0000 (00:34 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 17 Dec 2011 23:34:42 +0000 (00:34 +0100)
commit086652c19b2d321ead9fc7216c70157efae16329
tree713c880b50adea91eaad1872ed87f35ac35cd248
parent2e5b5b539722eb92fe413d0a3d7ea19366d2b486
PM: Drop generic_subsys_pm_ops

Since the PM core is now going to execute driver callbacks directly
if the corresponding subsystem callbacks are not present,
forward-only subsystem callbacks (i.e. such that only execute the
corresponding driver callbacks) are not necessary any more.  Thus
it is possible to remove generic_subsys_pm_ops, because the only
callback in there that is not forward-only, .runtime_idle, is not
really used by the only user of generic_subsys_pm_ops, which is
vio_bus_type.

However, the generic callback routines themselves cannot be removed
from generic_ops.c, because they are used individually by a number
of subsystems.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/powerpc/kernel/vio.c
drivers/base/power/generic_ops.c
include/linux/pm.h