ARM: 8822/1: smp_twd: Remove legacy TWD registration
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 8 Jan 2019 13:29:23 +0000 (14:29 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Feb 2019 21:44:10 +0000 (21:44 +0000)
commitfec9eac6594750ee74c99549f13de3aa9de91b18
tree878fca515f5049eb30e1bb75b990a584598755c4
parent8f433ec4d0c41d8d01113bc0bf846f2423df6c71
ARM: 8822/1: smp_twd: Remove legacy TWD registration

As of commit 7484c727b636a838 ("ARM: realview: delete the RealView board
files"), the ARM Timer and Watchdog Unit is instantiated from DT only.
Moreover, the driver is selected from ARCH_MULTIPLATFORM platforms only,
which implies OF, TIMER_OF, and COMMON_CLK.

Hence remove all unused legacy infrastructure from the driver.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig
arch/arm/include/asm/smp_twd.h
arch/arm/kernel/smp_twd.c