RTC for 4.20

Subsystem:
 - non devm managed registration is now removed from the driver API.
 - all the unnecessary rtc_valid_tm() calls have been removed

Drivers:
 - abx80X: watchdog support
 - cmos: fix non ACPI support
 - sc27xx: fix alarm support
 - Remove a possible sysfs race condition for ab8500, ds1307, ds1685, isl1208
 - Fix a possible race condition where an irq handler may be called before the
   rtc_device struct is allocated for mt6397, pl030, menelaus, armada38x
rtc: sc27xx: Always read normal alarm when registering RTC device

When registering one RTC device, it will check to see if there is an
alarm already set in RTC hardware by reading RTC alarm, at this time
we should always read the normal alarm put in always-on region by
checking the rtc->registered flag.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 file changed