rtc: at91rm9200: avoid time readout in at91_rtc_setalarm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 29 Dec 2019 20:44:17 +0000 (21:44 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 15 Jan 2020 14:11:08 +0000 (15:11 +0100)
commit565205d5adc196dcb34789c36e705d3220f02892
tree7b087a0d9ee6d97253cc25e01808f03e74098f60
parenta1243b099e257f8d977b19e503c3a0d0e70fbb84
rtc: at91rm9200: avoid time readout in at91_rtc_setalarm

The current rtc time is read out in at91_rtc_setalarm but it it immediately
overwritten by the alarm time. Remove the readout.

Link: https://lore.kernel.org/r/20191229204421.337612-5-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91rm9200.c