summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-cmos.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-10-12 16:30:53 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-10-19 10:41:48 +0300
commit290cd0f07f0c55f4071aee47b5d4cc3c83da588c (patch)
tree09331d79dd56d9797f74f745c6abe5393c0335f1 /drivers/rtc/rtc-cmos.c
parent6a6af3d04435adfdaab363624ec569a9b5d3973c (diff)
downloadlinux-290cd0f07f0c55f4071aee47b5d4cc3c83da588c.tar.xz
rtc: cmos: don't refer to asm-generic/rtc.h
That header has been gone for a while. I've fixed up the Kconfig comment, but the one in rtc-cmos.c doesn't make any sense to me even looking at its history. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
-rw-r--r--drivers/rtc/rtc-cmos.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index 903a82ae83f0..390172bac39b 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -772,9 +772,6 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq)
spin_unlock_irq(&rtc_lock);
- /* FIXME:
- * <asm-generic/rtc.h> doesn't know 12-hour mode either.
- */
if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) {
dev_warn(dev, "only 24-hr supported\n");
retval = -ENXIO;