diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-10-15 21:11:30 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-10-19 22:48:55 +0200 |
commit | 92c6dcfbd1eb803d4669c82b3d8a0fcbb803e3f9 (patch) | |
tree | e1034405d0349f168413c7bd4cbbe6666b8b926f /drivers/rtc | |
parent | rtc: rv3032: Add a driver for Microcrystal RV-3032 (diff) | |
download | linux-92c6dcfbd1eb803d4669c82b3d8a0fcbb803e3f9.tar.xz linux-92c6dcfbd1eb803d4669c82b3d8a0fcbb803e3f9.zip |
rtc: r9701: remove leftover comment
Commit 22652ba72453 ("rtc: stop validating rtc_time in .read_time") removed
the code but not the associated comment.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201015191135.471249-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-r9701.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c index 84f0d25259ae..eb00879f7c9a 100644 --- a/drivers/rtc/rtc-r9701.c +++ b/drivers/rtc/rtc-r9701.c @@ -85,10 +85,6 @@ static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) dt->tm_mon = bcd2bin(buf[4]) - 1; /* RMONCNT */ dt->tm_year = bcd2bin(buf[5]) + 100; /* RYRCNT */ - /* the rtc device may contain illegal values on power up - * according to the data sheet. make sure they are valid. - */ - return 0; } |