powerpc/setup: Adjust six seq_printf() calls in show_cpuinfo()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 2 Jul 2019 12:41:42 +0000 (14:41 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 31 Jan 2021 11:35:50 +0000 (22:35 +1100)
commit675b963e2b6007818fe1b0a64b47be40c125246e
treecc8ba8dc07a43910d512380459d07420a7c0525f
parentc0cff7a17781f8b02b4837a9fc434a7eed322a14
powerpc/setup: Adjust six seq_printf() calls in show_cpuinfo()

A bit of information should be put into a sequence.
Thus improve the execution speed for this data output by better usage
of corresponding functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5b62379e-a35f-4f56-f1b5-6350f76007e7@web.de
arch/powerpc/kernel/setup-common.c