diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-30 01:58:40 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-02-17 17:53:02 +0100 |
commit | fbc7edca5a7dd417013ef4900763ef931f325b3d (patch) | |
tree | 39af724e49947af4476cc7277a2aa8bb3a8d824a /arch/arm/mach-at91/at91rm9200.c | |
parent | 5737b73e193ba9d09286b621eecd9db3f3c6abd2 (diff) | |
download | lwn-fbc7edca5a7dd417013ef4900763ef931f325b3d.tar.gz lwn-fbc7edca5a7dd417013ef4900763ef931f325b3d.zip |
ARM: at91: pm: move idle functions to pm.c
Avoid using code from clk/at91 for PM.
This also has the bonus effect of setting arm_pm_idle for sama5 platforms.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index c1a7c6cc00e1..63b4fa25b48a 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c @@ -12,7 +12,6 @@ #include <linux/of_platform.h> #include <asm/mach/arch.h> -#include <asm/system_misc.h> #include "generic.h" #include "soc.h" @@ -33,7 +32,6 @@ static void __init at91rm9200_dt_device_init(void) of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); - arm_pm_idle = at91rm9200_idle; at91rm9200_pm_init(); } |