rtc: mxc: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2019 08:30:44 +0000 (10:30 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 29 Apr 2019 13:53:42 +0000 (15:53 +0200)
commit83888df4b882d10df122517f8158093d7b9da035
treeb87ed65e3bde7aaff244ab4835e9e59152224d3c
parentebc2ec4ecf1893b9afaecc59fbd04b2bdf34f7c2
rtc: mxc: set range

Let the core handle the range, and in particular the imx1 offsetting. This
has the benefit of extending the range of the RTC further than 365 days and
making .read_time useful again on imx1.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mxc.c