Thread (26 messages) 26 messages, 9 authors, 2011-04-26

Re: [PATCH 9/14] PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM

From: Mike Frysinger <hidden>
Date: 2011-04-18 02:34:48
Also in: linux-arm-kernel, linux-omap, lkml

On Sun, Apr 17, 2011 at 17:11, Rafael J. Wysocki wrote:
Convert some Blackfin 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.
looks straight forward enough ...
Acked-by: Mike Frysinger <redacted>
+static struct syscore_ops nmi_syscore_ops =3D {
=C2=A0 =C2=A0 =C2=A0 =C2=A0.resume =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D nmi_wd=
t_resume,
=C2=A0 =C2=A0 =C2=A0 =C2=A0.suspend =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D nmi_wd=
t_suspend,
=C2=A0};
a bit sad this couldnt be made const
-mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help