]> git.baikalelectronics.ru Git - kernel.git/commit
arm: remove zte zx platform left-over
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 2 Nov 2021 06:38:10 +0000 (07:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Nov 2021 17:30:52 +0000 (18:30 +0100)
commit7788bbb8c8e374c5896efed0dc0eb6b8d16d20c3
tree9412142efc1811c3d500f27e91b11a6c17eb22b7
parent51e25bfc345df65a571a97a23df556edb1c6902f
arm: remove zte zx platform left-over

Commit f3376105f70e ("ARM: remove zte zx platform") missed to remove some
definitions for this platform's debug and serial, e.g., code dependent on
the config DEBUG_ZTE_ZX.

Fortunately, ./scripts/checkkconfigsymbols.py detects this and warns:

DEBUG_ZTE_ZX
Referencing files: arch/arm/include/debug/pl01x.S

Further review by Arnd Bergmann identified even more dead code in the
amba serial driver.

Remove all this left-over from the zte zx platform.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20211102063810.932-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/debug/pl01x.S
drivers/tty/serial/amba-pl011.c
include/linux/amba/bus.h