ARM: shmobile: rcar-gen2: correct return value of shmobile_smp_apmu_suspend_init
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 16 Jun 2014 11:21:13 +0000 (20:21 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:53 +0000 (11:15 +0100)
commit6add70b078e4c1d330f12e8d994101043d9c6789
treedc38c0a7f4b36d9f064c6ca7878e536c83201e19
parent4685f4f6c3b376f192d2ddcc353d5971c7693a0c
ARM: shmobile: rcar-gen2: correct return value of shmobile_smp_apmu_suspend_init

The dummy shmobile_smp_apmu_suspend_init() function provided when
CPU_IDLE is not set should not return a value as per the signature
of the function.

This problem appears to have been introduced by
867ba81f728f1daa ("ARM: shmobile: APMU: Add Core-Standby-state for Suspend
to RAM").

Cc: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit ecdaca48629bd99609fdc612685363330967dce2)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/common.h