Commit 997ff83b authored by Alexandre Belloni's avatar Alexandre Belloni

ARM: at91: pm: simply call at91_pm_init

at91_pm_init() doesn't return a value, as is the case for its callers,
simply call it instead of returning its non-existent return value.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent ea52bc64
...@@ -432,7 +432,7 @@ void __init at91sam9260_pm_init(void) ...@@ -432,7 +432,7 @@ void __init at91sam9260_pm_init(void)
at91_dt_ramc(); at91_dt_ramc();
at91_pm_data.memctrl = AT91_MEMCTRL_SDRAMC; at91_pm_data.memctrl = AT91_MEMCTRL_SDRAMC;
at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP; at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP;
return at91_pm_init(); at91_pm_init();
} }
void __init at91sam9g45_pm_init(void) void __init at91sam9g45_pm_init(void)
...@@ -440,7 +440,7 @@ void __init at91sam9g45_pm_init(void) ...@@ -440,7 +440,7 @@ void __init at91sam9g45_pm_init(void)
at91_dt_ramc(); at91_dt_ramc();
at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP; at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP;
at91_pm_data.memctrl = AT91_MEMCTRL_DDRSDR; at91_pm_data.memctrl = AT91_MEMCTRL_DDRSDR;
return at91_pm_init(); at91_pm_init();
} }
void __init at91sam9x5_pm_init(void) void __init at91sam9x5_pm_init(void)
...@@ -448,5 +448,5 @@ void __init at91sam9x5_pm_init(void) ...@@ -448,5 +448,5 @@ void __init at91sam9x5_pm_init(void)
at91_dt_ramc(); at91_dt_ramc();
at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP; at91_pm_data.uhp_udp_mask = AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP;
at91_pm_data.memctrl = AT91_MEMCTRL_DDRSDR; at91_pm_data.memctrl = AT91_MEMCTRL_DDRSDR;
return at91_pm_init(); at91_pm_init();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment