Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd710009 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Ralf Baechle
Browse files

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: default avatarRafael J. Wysocki <rjw@sisk.pl>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Acked-and-tested-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarLars-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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1eec6cd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment