zephyr/drivers/rtc/Kconfig
Ulf Magnusson cddca70860 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 <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

32 lines
498 B
Plaintext

# Kconfig - RTC configuration options
#
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#
# Real-Time Clock (RTC) options
#
menuconfig RTC
bool "Real-Time Clock"
help
Enable options for Real-Time Clock drivers.
if RTC
config RTC_0_NAME
string "Driver instance name"
default "RTC_0"
depends on RTC && !HAS_DTS
help
RTC driver instance name
comment "RTC drivers"
source "drivers/rtc/Kconfig.qmsi"
source "drivers/rtc/Kconfig.mcux_rtc"
endif # RTC