From cddca70860f46d9744d02ef347d2c1dc73c68219 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 27 Jun 2018 11:08:00 +0200 Subject: [PATCH] drivers: rtc: 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 --- drivers/rtc/Kconfig | 1 - drivers/rtc/Kconfig.mcux_rtc | 1 - drivers/rtc/Kconfig.qmsi | 2 -- 3 files changed, 4 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index f2e46d58bf4..723a16aa088 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -11,7 +11,6 @@ # menuconfig RTC bool "Real-Time Clock" - default n help Enable options for Real-Time Clock drivers. diff --git a/drivers/rtc/Kconfig.mcux_rtc b/drivers/rtc/Kconfig.mcux_rtc index 9ddfdd26fab..6f9174627fa 100644 --- a/drivers/rtc/Kconfig.mcux_rtc +++ b/drivers/rtc/Kconfig.mcux_rtc @@ -9,6 +9,5 @@ menuconfig RTC_MCUX bool prompt "MCUX RTC driver" depends on RTC && HAS_MCUX_RTC - default n help Enable support for mcux rtc driver. diff --git a/drivers/rtc/Kconfig.qmsi b/drivers/rtc/Kconfig.qmsi index 3d46880e563..08ae57c0e74 100644 --- a/drivers/rtc/Kconfig.qmsi +++ b/drivers/rtc/Kconfig.qmsi @@ -1,7 +1,6 @@ config RTC_QMSI bool "QMSI RTC Driver" depends on QMSI - default n help Build QMSI RTC driver. @@ -10,7 +9,6 @@ if RTC_QMSI config RTC_QMSI_API_REENTRANCY bool prompt "RTC shim driver API reentrancy" - default n help Enable support for RTC shim driver API reentrancy.