[PATCH v2 1/4] ARM: mvebu: Use __init for the PM initialization functions

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 1 08:18:29 PDT 2015


Dear Gregory CLEMENT,

On Tue, 30 Jun 2015 19:18:57 +0200, Gregory CLEMENT wrote:
> mvebu_pm_init and mvebu_armada_pm_init are only called during boot, so
> flag them with __init and save some memory.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
> ---
>  arch/arm/mach-mvebu/pm-board.c | 2 +-
>  arch/arm/mach-mvebu/pm.c       | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Makes sense:

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list