Re: [PATCH] ARM: smp_twd: Remove legacy TWD registration

From: Linus Walleij
Date: Mon Nov 19 2018 - 08:56:42 EST


On Thu, Nov 15, 2018 at 12:24 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>

Good riddance.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

> arch/arm/kernel/smp_twd.c | 66 ----------------------------------

Does this driver have some intimate relationship to the arch
or can we move it to drivers/clocksource?

Yours,
Linus Walleij