ARM: shmobile: r8a7779: Use rcar_sysc_power_{down,up}_cpu()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:14 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:28 +0000 (12:00 +0200)
commit9d65c891587ea9d0936551e432f34485c16bb71c
tree395cd12013f679d861a09e094f6ce52403ba1fa0
parentf2b1d2f94af887c91bb8a0cfb495e546331bc5ed
ARM: shmobile: r8a7779: Use rcar_sysc_power_{down,up}_cpu()

The r8a7779 SMP code calls rcar_sysc_power_{down,up}() to control power
to the SYSC power areas containing CPUs. This requires passing full CPU
power area parameter blocks.

Migrate the code to call the new rcar_sysc_power_{down,up}_cpu()
helpers, which just take a CPU index, and use the SYSC power area
definitions from the r8a7779-sysc driver.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7779.c