]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/powernv: rename remaining rng powernv_ functions to pnv_
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 27 Jul 2022 14:32:19 +0000 (00:32 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:15 +0000 (16:22 +1000)
commit978030f054ff97d9079b35f0178e2013918fb316
treef828bcaf108421afbd56e8be7e9c8aacee7514d6
parent7ef3d06f1bc4a5e62273726f3dc2bd258ae1c71f
powerpc/powernv: rename remaining rng powernv_ functions to pnv_

The preferred nomenclature is pnv_, not powernv_, but rng.c used
powernv_ for some reason, which isn't consistent with the rest. A recent
commit added a few pnv_ functions to rng.c, making the file a bit of a
mishmash. This commit just replaces the rest of them.

Fixes: f3eac426657d ("powerpc/powernv: wire up rng during setup_arch")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
[mpe: Reorder after bug fix commits]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220727143219.2684192-3-mpe@ellerman.id.au
arch/powerpc/include/asm/archrandom.h
arch/powerpc/platforms/powernv/rng.c
drivers/char/hw_random/powernv-rng.c