MIPS: PM: Use struct syscore_ops instead of sysdevs for PM (v2)
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 2 Jun 2011 19:06:48 +0000 (21:06 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 21 Sep 2011 15:53:51 +0000 (17:53 +0200)
commitbd7100099a46b59f433dd15ad60adbb4d4f3d625
tree2f6c37db8eef8afc585fe7de86d5e4256901d127
parent1eec6cd08b4feb72a73aff468ab72bdd21e1dc61
MIPS: PM: Use struct syscore_ops instead of sysdevs for PM (v2)

Convert some MIPS architecture's code to using struct syscore_ops
objects for power management instead of sysdev classes and sysdevs.

This simplifies the code and reduces the kernel's memory footprint.
It also is necessary for removing sysdevs from the kernel entirely in
the future.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-and-tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-kernel@vger.kernel.org
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Patchwork: http://patchwork.linux-mips.org/patch/2431/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/gpio.c