ARM: samsung: remove HAVE_S3C2410_WATCHDOG and use direct dependencies
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 4 Aug 2020 19:26:47 +0000 (21:26 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 19 Aug 2020 18:57:35 +0000 (20:57 +0200)
commit7dd3cae90d856e97e93bc1c32904e5aed7210f7b
tree0428acb19bd4f90b5cfb40b2e3ec9a9b1a5168c4
parent5b5858ef45906bbd71d8fc95e3bc30860b599620
ARM: samsung: remove HAVE_S3C2410_WATCHDOG and use direct dependencies

A separate Kconfig option HAVE_S3C2410_WATCHDOG for Samsung SoCs is not
really needed and the s3c24xx watchdog driver can depend on Samsung ARM
architectures instead.

The "HAVE_xxx_WATCHDOG" pattern of dependency is not popular and Samsung
platforms are here exceptions.  All others just depend on
CONFIG_ARCH_xxx.

This makes the code slightly smaller without any change in
functionality.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
arch/arm/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-s3c64xx/Kconfig
arch/arm/mach-s5pv210/Kconfig
arch/arm64/Kconfig.platforms
drivers/watchdog/Kconfig