Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powernv:stop: Rename pnv_arch300_idle_init to pnv_power9_idle_init

Balbir pointed out that the name of the function pnv_arch300_idle_init
was inconsistent with the names of the variables and functions
pertaining to POWER9 features in book3s_idle.S.

This patch renames pnv_arch300_idle_init to pnv_power9_idle_init.

This patch does not change any behaviour.

Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Gautham R. Shenoy and committed by
Michael Ellerman
dd34c74c 823b7bd5

+2 -2
+2 -2
arch/powerpc/platforms/powernv/idle.c
··· 298 298 * @dt_idle_states: Number of idle state entries 299 299 * Returns 0 on success 300 300 */ 301 - static int __init pnv_arch300_idle_init(struct device_node *np, u32 *flags, 301 + static int __init pnv_power9_idle_init(struct device_node *np, u32 *flags, 302 302 int dt_idle_states) 303 303 { 304 304 u64 *psscr_val = NULL; ··· 373 373 } 374 374 375 375 if (cpu_has_feature(CPU_FTR_ARCH_300)) { 376 - if (pnv_arch300_idle_init(np, flags, dt_idle_states)) 376 + if (pnv_power9_idle_init(np, flags, dt_idle_states)) 377 377 goto out; 378 378 } 379 379