ARM: 8029/1: mcpm: Rename the power_down_finish() functions to be less confusing
authorDave Martin <Dave.Martin@arm.com>
Thu, 17 Apr 2014 15:58:39 +0000 (16:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 25 May 2014 22:48:12 +0000 (23:48 +0100)
commit166aaf396654b533f536f2cf84d7558eb42f1c9f
treeeb9b0ce90ea4aa745de4c7ef0d3a7a8ec1a36593
parent9581960a40ab0e281b695bf03744c8924ec3b5d0
ARM: 8029/1: mcpm: Rename the power_down_finish() functions to be less confusing

The name "power_down_finish" seems to be causing some confusion,
because it suggests that this function is responsible for taking
some action to cause the specified CPU to complete its power down.

This patch renames the affected functions to "wait_for_powerdown"
and similar, since this function's intended purpose is just to wait
for the hardware to finish a powerdown initiated by a previous
cpu_power_down.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/mcpm_entry.c
arch/arm/common/mcpm_platsmp.c
arch/arm/include/asm/mcpm.h
arch/arm/mach-vexpress/tc2_pm.c