linux-stable/drivers/sh
Rafael J. Wysocki a696b89c58 sh: Use struct syscore_ops instead of sysdevs
Convert the SuperH clocks framework and shared interrupt handling
code to using struct syscore_ops instead of a sysdev classes and
sysdevs for power managment.

This reduces the code size significantly and simplifies it.  The
optimizations causing things not to be restored after creating a
hibernation image are removed, but they might lead to undesirable
effects during resume from hibernation (e.g. the clocks would be left
as the boot kernel set them, which might be not the same way as the
hibernated kernel had seen them before the hibernation).

This also is necessary for removing sysdevs from the kernel entirely
in the future.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2011-03-23 18:57:37 +09:00
..
clk sh: Use struct syscore_ops instead of sysdevs 2011-03-23 18:57:37 +09:00
intc sh: Use struct syscore_ops instead of sysdevs 2011-03-23 18:57:37 +09:00
maple sh: maple: ctrl_in/outX to __raw_read/writeX conversion. 2010-10-27 14:34:41 +09:00
superhyway sh: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
Kconfig sh: intc: Split up the INTC code. 2010-10-05 22:10:30 +09:00
Makefile sh: clkfwk: Shuffle around to match the intc split up. 2010-10-18 21:32:58 +09:00
pfc.c sh: pfc: Fix up BUG() triggered by gpiolib debugfs lookups. 2010-10-04 05:15:20 +09:00