]> 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)
commit4e04b67e2cb4ccfc07702554b3d64f02b082a32f
tree7bb8dc31bcd9ce62de7e34836d09091252f6cb37
parenta90fe9361245d8c1c8e347d04608e12672def23a
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: 49b1c25f698f ("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