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>
This commit is contained in:
@@ -62,8 +62,6 @@ static void __init at91sam9_common_init(void)
|
||||
soc_dev = soc_device_to_device(soc);
|
||||
|
||||
of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev);
|
||||
|
||||
arm_pm_idle = at91sam9_idle;
|
||||
}
|
||||
|
||||
static void __init at91sam9_dt_device_init(void)
|
||||
|
Reference in New Issue
Block a user