diff mbox series

[4/6] watchdog: ar7_wdt: remove driver to prepare for platform removal

Message ID 20230920201035.3445-5-wsa+renesas@sang-engineering.com (mailing list archive)
State Superseded
Headers show
Series remove AR7 platform and associated drivers | expand

Commit Message

Wolfram Sang Sept. 20, 2023, 8:10 p.m. UTC
AR7 is going to be removed from the Kernel, so remove its watchdog
support. This allows us to remove the platform because this driver
includes a platform specific header.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/watchdog/Kconfig   |   6 -
 drivers/watchdog/Makefile  |   1 -
 drivers/watchdog/ar7_wdt.c | 315 -------------------------------------
 3 files changed, 322 deletions(-)
 delete mode 100644 drivers/watchdog/ar7_wdt.c

Comments

Guenter Roeck Sept. 20, 2023, 8:14 p.m. UTC | #1
On 9/20/23 13:10, Wolfram Sang wrote:
> AR7 is going to be removed from the Kernel, so remove its watchdog
> support. This allows us to remove the platform because this driver
> includes a platform specific header.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Acked-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/watchdog/Kconfig   |   6 -
>   drivers/watchdog/Makefile  |   1 -
>   drivers/watchdog/ar7_wdt.c | 315 -------------------------------------
>   3 files changed, 322 deletions(-)
>   delete mode 100644 drivers/watchdog/ar7_wdt.c
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index 751458959411..b9f715d73fe8 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1768,12 +1768,6 @@ config SIBYTE_WDOG
>   	  To compile this driver as a loadable module, choose M here.
>   	  The module will be called sb_wdog.
>   
> -config AR7_WDT
> -	tristate "TI AR7 Watchdog Timer"
> -	depends on AR7 || (MIPS && 32BIT && COMPILE_TEST)
> -	help
> -	  Hardware driver for the TI AR7 Watchdog Timer.
> -
>   config TXX9_WDT
>   	tristate "Toshiba TXx9 Watchdog Timer"
>   	depends on CPU_TX49XX || (MIPS && COMPILE_TEST)
> diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
> index 7eab9de311cb..7cbc34514ec1 100644
> --- a/drivers/watchdog/Makefile
> +++ b/drivers/watchdog/Makefile
> @@ -168,7 +168,6 @@ obj-$(CONFIG_INDYDOG) += indydog.o
>   obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
>   obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
>   obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
> -obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
>   obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
>   obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
>   octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
> diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
> deleted file mode 100644
> index cdcaeb0961ac..000000000000
Florian Fainelli Sept. 20, 2023, 9:26 p.m. UTC | #2
On 9/20/23 13:10, Wolfram Sang wrote:
> AR7 is going to be removed from the Kernel, so remove its watchdog
> support. This allows us to remove the platform because this driver
> includes a platform specific header.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 751458959411..b9f715d73fe8 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1768,12 +1768,6 @@  config SIBYTE_WDOG
 	  To compile this driver as a loadable module, choose M here.
 	  The module will be called sb_wdog.
 
-config AR7_WDT
-	tristate "TI AR7 Watchdog Timer"
-	depends on AR7 || (MIPS && 32BIT && COMPILE_TEST)
-	help
-	  Hardware driver for the TI AR7 Watchdog Timer.
-
 config TXX9_WDT
 	tristate "Toshiba TXx9 Watchdog Timer"
 	depends on CPU_TX49XX || (MIPS && COMPILE_TEST)
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 7eab9de311cb..7cbc34514ec1 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -168,7 +168,6 @@  obj-$(CONFIG_INDYDOG) += indydog.o
 obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
 obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
-obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
 obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
 octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
deleted file mode 100644
index cdcaeb0961ac..000000000000