Re: [PATCH 10/22] input: remove sh_keysc

From: Geert Uytterhoeven
Date: Fri Jan 13 2023 - 03:29:14 EST


On Fri, Jan 13, 2023 at 7:24 AM Christoph Hellwig <hch@xxxxxx> wrote:
> Now that arch/sh is removed this driver is dead code.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/input/keyboard/Kconfig | 10 -
> drivers/input/keyboard/Makefile | 1 -
> drivers/input/keyboard/sh_keysc.c | 334 ------------------------------
> 3 files changed, 345 deletions(-)
> delete mode 100644 drivers/input/keyboard/sh_keysc.c
>
> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
> index 84490915ae4d5a..882ec5fef214ac 100644
> --- a/drivers/input/keyboard/Kconfig
> +++ b/drivers/input/keyboard/Kconfig
> @@ -625,16 +625,6 @@ config KEYBOARD_SUNKBD
> To compile this driver as a module, choose M here: the
> module will be called sunkbd.
>
> -config KEYBOARD_SH_KEYSC
> - tristate "SuperH KEYSC keypad support"
> - depends on ARCH_SHMOBILE || COMPILE_TEST
> - help
> - Say Y here if you want to use a keypad attached to the KEYSC block
> - on SuperH processors such as sh7722 and sh7343.

FTR, this hardware block is also present on the ARM-based
SH-Mobile AG5, and R-Mobile A1 and APE6 SoCs.
Again, no DT support.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds