]> git.baikalelectronics.ru Git - kernel.git/commit
PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PM
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Apr 2011 17:14:47 +0000 (19:14 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 May 2011 19:37:15 +0000 (21:37 +0200)
commitb11e0a34ef4352ca6085302b7b1b36a6edb5a318
treea30527c3242e01162e693f1064266a6a1a4a257d
parent5848582d4d93fd9358c7d6ef22c13042e1d3ae5c
PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PM

Make some UNICORE32 architecture's code use 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: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/kernel/irq.c