]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 16:57:56 +0000 (17:57 +0100)
commit9dd16bee8921d8a270c7f0ef678092d099c8ac24
treeb3b47c68eadbdbe77476362898a4cefadde7f916
parent2862777127909de129b1cdd94cc8635bf3bdc70e
parisc: Avoid printing the hardware path twice

commit 4e04b67e2cb4ccfc07702554b3d64f02b082a32f upstream.

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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/hardware.h
arch/parisc/kernel/drivers.c