drivers: watchdog: Use common name configuration for all drivers

Each driver seemed to use their own Kconfig option to set the name for
their drivers.  This makes writing example/test code difficult as each
one of them will have to special case for each of the supported
platforms.

Use a consistent CONFIG_WDT_0_NAME option in all drivers.

Fixes #8094.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
This commit is contained in:
Leandro Pereira 2018-06-01 12:32:25 -07:00 committed by Maureen Helm
commit 158ea970ea
11 changed files with 15 additions and 40 deletions

View file

@ -18,10 +18,3 @@ config WDT_SAM_DISABLE_AT_BOOT
default y
help
Select this option to disable the WDT during boot.
config WDT_SAM_DEVICE_NAME
string "Device name for Watchdog (WDT)"
depends on WDT_SAM
default "WDT"
help
Set the name used by WDT device during registration.