]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf85063: fix year range
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 18 Jul 2016 09:08:59 +0000 (11:08 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 19 Jul 2016 17:11:12 +0000 (19:11 +0200)
commit1376e31499adcf9166b0d35eb9176cd70d185729
treec9696649f5eb6ba8ede13e2cbe94b9beeead97cc
parent2047a84cab35c8e1fc313a6817ba7d47ae3acacc
rtc: pcf85063: fix year range

The year range is not validated properly

As the driver has been mainlined in 2014, it is not an issue to stop
handling dates between 1970 and 2000 with the benefit of handling dates up
to 2100.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf85063.c