]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 17 Sep 2011 00:45:52 +0000 (02:45 +0200)
commitf0b9d87219db0c2b5b708349068ce6df57697b70
tree3c52c178bc6300752cc585c7d3dd4b24f82e176d
parent6833598fae02dc7bcd06975a949710fe8ad73bdc
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