aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-06-18 10:52:02 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-06-20 12:38:14 +0200
commita41efe03e6110d7d85db272290aeed7e1ce9b63b (patch)
tree10a7191979cddb8cbe7f50db99d696c5b411ef3f /drivers/rtc/Kconfig
parentrtc: ds1685: remove improper datetime access ABI (diff)
downloadlinux-dev-a41efe03e6110d7d85db272290aeed7e1ce9b63b.tar.xz
linux-dev-a41efe03e6110d7d85db272290aeed7e1ce9b63b.zip
rtc: ds1685: remove sysfs access to control registers
Access to the control registers is mostly not needed and can cause runtime issues (like missed interrupts). Remove this debugging interface. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index a2ba5db36145..2962fa09baf1 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1027,18 +1027,6 @@ config RTC_DS1685_PROC_REGS
Unless you are debugging this driver, choose N.
-config RTC_DS1685_SYSFS_REGS
- bool "SysFS access to RTC register bits"
- depends on RTC_DRV_DS1685_FAMILY && SYSFS
- help
- Enable this to provide access to the RTC control register bits
- in /sys. Some of the bits are read-write, others are read-only.
-
- Keep in mind that reading Control C's bits automatically clears
- all pending IRQ flags - this can cause lost interrupts.
-
- If you know that you need access to these bits, choose Y, Else N.
-
config RTC_DRV_DS1742
tristate "Maxim/Dallas DS1742/1743"
depends on HAS_IOMEM