Skip to content

Commit

Permalink
drivers: watchdog: Kconfig: Remove redundant 'default n' properties
Browse files Browse the repository at this point in the history
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information
ulfalizer authored and nashif committed Jul 3, 2018
1 parent f30b163 commit 09acea9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/watchdog/Kconfig.cmsdk_apb
Expand Up @@ -18,7 +18,6 @@ config WDOG_CMSDK_APB
config WDOG_CMSDK_APB_START_AT_BOOT
bool "Start Watchdog during boot"
depends on WDOG_CMSDK_APB
default n
help
Enable this setting to allow WDOG to be automatically started
during device initialization. Note that once WDOG is started
Expand Down
1 change: 0 additions & 1 deletion drivers/watchdog/Kconfig.mcux_wdog
Expand Up @@ -9,6 +9,5 @@ menuconfig WDT_MCUX_WDOG
bool "MCUX WDOG driver"
depends on HAS_MCUX && CLOCK_CONTROL
select HAS_DTS_WDT
default n
help
Enable the mcux wdog driver.
1 change: 0 additions & 1 deletion drivers/watchdog/Kconfig.nrfx
Expand Up @@ -9,6 +9,5 @@ menuconfig WDT_NRFX
depends on SOC_FAMILY_NRF && CLOCK_CONTROL_NRF5
select HAS_DTS_WDT
select NRFX_WDT
default n
help
Enable support for nrfx WDT driver for nRF MCU series.
2 changes: 0 additions & 2 deletions drivers/watchdog/Kconfig.qmsi
Expand Up @@ -8,7 +8,6 @@

config WDT_QMSI
bool "QMSI Watchdog driver"
default n
help
This option enables the QMSI watchdog driver.
This driver is simply a shim driver based on the watchdog
Expand All @@ -24,6 +23,5 @@ config WDT_QMSI_API_REENTRANCY
bool
prompt "WDT shim driver API reentrancy"
depends on WDT_QMSI
default n
help
Enable support for WDT shim driver API reentrancy.

0 comments on commit 09acea9

Please sign in to comment.