PM / AVR32: Use struct syscore_ops instead of sysdevs for PM
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Apr 2011 17:14:35 +0000 (19:14 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 May 2011 19:37:14 +0000 (21:37 +0200)
commitf25f4f522a9d2e18595da9df0bf1b6f282040e08
treea1627fc939d51ec45f1d0a53e1dae0d3a46a3ec4
parent67f9cbf9affe39f67cd3f1d2e2a2a43089d9ab3a
PM / AVR32: Use struct syscore_ops instead of sysdevs for PM

Convert some AVR32 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-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/mach-at32ap/intc.c