rtc: r9701: remove leftover comment
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 Oct 2020 19:11:30 +0000 (21:11 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Oct 2020 20:48:55 +0000 (22:48 +0200)
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
drivers/rtc/rtc-r9701.c

index 84f0d25259ae03c842e7198d0345880a8396b6c4..eb00879f7c9a67e2cfe5d72aa98bceed49f6c749 100644 (file)
@@ -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;
 }