rtc: sc27xx: Remove interrupts disable and clear in probe()
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 18 Oct 2018 08:52:28 +0000 (16:52 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 25 Oct 2018 00:35:39 +0000 (02:35 +0200)
commitb2ddc48582efa157635f7ef815c9d4a657e2cabd
tree75e45229469995cf98a4d716856109ef1d8c63cf
parent7db5adfa63167dac548022c973e00da7f56ffb72
rtc: sc27xx: Remove interrupts disable and clear in probe()

When registering one rtc device, it will check to see if there is an
alarm already set in rtc hardware by issuing __rtc_read_alarm(). So
we should not disable the RTC interrupts and clear the interrupts
status in probe() function.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sc27xx.c