]> 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)
commit05f5c7db15d09afc6e062a13ad15094975b0a09d
treec9696649f5eb6ba8ede13e2cbe94b9beeead97cc
parentdda315046aefd643f771298e0934ceda980ecc0c
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