diff options
author | Hugo Villeneuve <[email protected]> | 2023-06-22 10:57:47 -0400 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-07-27 22:54:51 +0200 |
commit | 0476b6c8e8b1a6dfa3a259bc7e3c135145532c71 (patch) | |
tree | 7e14fe46bb530543b74d2ec7d2d91fd7b4d3b64f | |
parent | 3d740c647ff8b77b2a560ebd95ac746c46f49ed4 (diff) |
rtc: pcf2127: remove superfluous comments
Noted while reviewing new PCF2131 driver.
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
-rw-r--r-- | drivers/rtc/rtc-pcf2127.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c index 2a4d980bb7d5..309d1710a1c8 100644 --- a/drivers/rtc/rtc-pcf2127.c +++ b/drivers/rtc/rtc-pcf2127.c @@ -137,10 +137,10 @@ static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm) tm->tm_sec = bcd2bin(buf[0] & 0x7F); tm->tm_min = bcd2bin(buf[1] & 0x7F); - tm->tm_hour = bcd2bin(buf[2] & 0x3F); /* rtc hr 0-23 */ + tm->tm_hour = bcd2bin(buf[2] & 0x3F); tm->tm_mday = bcd2bin(buf[3] & 0x3F); tm->tm_wday = buf[4] & 0x07; - tm->tm_mon = bcd2bin(buf[5] & 0x1F) - 1; /* rtc mn 1-12 */ + tm->tm_mon = bcd2bin(buf[5] & 0x1F) - 1; tm->tm_year = bcd2bin(buf[6]); tm->tm_year += 100; |