]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Avoid printing the hardware path twice
authorHelge Deller <deller@gmx.de>
Fri, 28 Oct 2022 16:12:49 +0000 (18:12 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 31 Oct 2022 14:37:14 +0000 (15:37 +0100)
commite3590ca5448ae572771afeee7b09109cd934c91b
tree7bb8dc31bcd9ce62de7e34836d09091252f6cb37
parent9aced325ad7af4dd54bf2ea4e022a5e4d3d66b29
parisc: Avoid printing the hardware path twice

Avoid that the hardware path is shown twice in the kernel log, and clean
up the output of the version numbers to show up in the same order as
they are listed in the hardware database in the hardware.c file.
Additionally, optimize the memory footprint of the hardware database
and mark some code as init code.

Fixes: 865a5bef002b ("parisc: Fix device names in /proc/iomem")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.9+
arch/parisc/include/asm/hardware.h
arch/parisc/kernel/drivers.c