drivers: counter: Kconfig: Remove redundant 'default n' properties
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>
This commit is contained in:
parent
d7fa8b25aa
commit
8308a51930
4 changed files with 0 additions and 14 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
menuconfig COUNTER
|
menuconfig COUNTER
|
||||||
bool "Counter Drivers"
|
bool "Counter Drivers"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for counter and timer.
|
Enable support for counter and timer.
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ if SOC_FAMILY_ARM
|
||||||
config TIMER_DTMR_CMSDK_APB
|
config TIMER_DTMR_CMSDK_APB
|
||||||
bool
|
bool
|
||||||
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
|
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The dualtimer (DTMR) present in the platform is used as a timer.
|
The dualtimer (DTMR) present in the platform is used as a timer.
|
||||||
This option enables the support for the timer.
|
This option enables the support for the timer.
|
||||||
|
@ -23,7 +22,6 @@ if TIMER_DTMR_CMSDK_APB
|
||||||
config TIMER_DTMR_CMSDK_APB_0
|
config TIMER_DTMR_CMSDK_APB_0
|
||||||
bool
|
bool
|
||||||
prompt "Timer 0 driver"
|
prompt "Timer 0 driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Timer 0.
|
Enable support for Timer 0.
|
||||||
|
|
||||||
|
@ -46,7 +44,6 @@ endif # TIMER_DTMR_CMSDK_APB
|
||||||
config COUNTER_DTMR_CMSDK_APB
|
config COUNTER_DTMR_CMSDK_APB
|
||||||
bool
|
bool
|
||||||
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
|
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The dualtimer (DTMR) present in the platform is used as a counter.
|
The dualtimer (DTMR) present in the platform is used as a counter.
|
||||||
This option enables the support for the counter.
|
This option enables the support for the counter.
|
||||||
|
@ -59,7 +56,6 @@ config COUNTER_DTMR_CMSDK_APB_0
|
||||||
bool
|
bool
|
||||||
prompt "Counter 0 driver"
|
prompt "Counter 0 driver"
|
||||||
depends on !TIMER_DTMR_CMSDK_APB_0
|
depends on !TIMER_DTMR_CMSDK_APB_0
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Counter 0.
|
Enable support for Counter 0.
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ config AON_COUNTER_QMSI
|
||||||
bool
|
bool
|
||||||
prompt "AON counter driver"
|
prompt "AON counter driver"
|
||||||
depends on COUNTER && QMSI
|
depends on COUNTER && QMSI
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for AON counter.
|
Enable support for AON counter.
|
||||||
|
|
||||||
|
@ -25,7 +24,6 @@ config AON_TIMER_QMSI
|
||||||
bool
|
bool
|
||||||
prompt "AON periodic timer driver"
|
prompt "AON periodic timer driver"
|
||||||
depends on COUNTER && QMSI
|
depends on COUNTER && QMSI
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for AON periodic timer.
|
Enable support for AON periodic timer.
|
||||||
|
|
||||||
|
@ -46,6 +44,5 @@ config AON_API_REENTRANCY
|
||||||
bool
|
bool
|
||||||
prompt "AON driver API reentrancy"
|
prompt "AON driver API reentrancy"
|
||||||
depends on AON_TIMER_QMSI
|
depends on AON_TIMER_QMSI
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for AON driver API reentrancy.
|
Enable support for AON driver API reentrancy.
|
||||||
|
|
|
@ -11,7 +11,6 @@ if SOC_FAMILY_ARM
|
||||||
config TIMER_TMR_CMSDK_APB
|
config TIMER_TMR_CMSDK_APB
|
||||||
bool
|
bool
|
||||||
prompt "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
|
prompt "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The timers (TMR) present in the platform are used as timers.
|
The timers (TMR) present in the platform are used as timers.
|
||||||
This option enables the support for the timers.
|
This option enables the support for the timers.
|
||||||
|
@ -23,7 +22,6 @@ if TIMER_TMR_CMSDK_APB
|
||||||
config TIMER_TMR_CMSDK_APB_0
|
config TIMER_TMR_CMSDK_APB_0
|
||||||
bool
|
bool
|
||||||
prompt "Timer 0 driver"
|
prompt "Timer 0 driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Timer 0.
|
Enable support for Timer 0.
|
||||||
|
|
||||||
|
@ -46,7 +44,6 @@ config TIMER_TMR_CMSDK_APB_0_IRQ_PRI
|
||||||
config TIMER_TMR_CMSDK_APB_1
|
config TIMER_TMR_CMSDK_APB_1
|
||||||
bool
|
bool
|
||||||
prompt "Timer 1 driver"
|
prompt "Timer 1 driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Timer 1.
|
Enable support for Timer 1.
|
||||||
|
|
||||||
|
@ -69,7 +66,6 @@ endif # TIMER_TMR_CMSDK_APB
|
||||||
config COUNTER_TMR_CMSDK_APB
|
config COUNTER_TMR_CMSDK_APB
|
||||||
bool
|
bool
|
||||||
prompt "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
|
prompt "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The timers (TMR) present in the platform are used as counters.
|
The timers (TMR) present in the platform are used as counters.
|
||||||
This option enables the support for the counters.
|
This option enables the support for the counters.
|
||||||
|
@ -82,7 +78,6 @@ config COUNTER_TMR_CMSDK_APB_0
|
||||||
bool
|
bool
|
||||||
prompt "Counter 0 driver"
|
prompt "Counter 0 driver"
|
||||||
depends on !TIMER_TMR_CMSDK_APB_0
|
depends on !TIMER_TMR_CMSDK_APB_0
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Counter 0.
|
Enable support for Counter 0.
|
||||||
|
|
||||||
|
@ -99,7 +94,6 @@ config COUNTER_TMR_CMSDK_APB_1
|
||||||
bool
|
bool
|
||||||
prompt "Counter 1 driver"
|
prompt "Counter 1 driver"
|
||||||
depends on !TIMER_TMR_CMSDK_APB_1
|
depends on !TIMER_TMR_CMSDK_APB_1
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable support for Counter 1.
|
Enable support for Counter 1.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue