RTC for 5.12

 - Introduce features bitfield and the first feature: RTC_FEATURE_ALARM

Removed drivers:
 - ab3100
 - coh901331
 - tx4939
 - sirfsoc

 - use rtc_lock and rtc_unlock instead of opencoding
 - constify all struct rtc_class_ops
 - quiet maybe-unused variable warning
 - replace spin_lock_irqsave with spin_lock in hard IRQ
 - pcf2127: disable Power-On Reset Override and run OTP refresh
rtc: abx80x: Add utility function for writing configuration key

Writing one of key two values into the configuration key register
is a common operation, so a utility function has been added to
provide consistent behavior and eliminate code duplication.

Signed-off-by: Kevin P. Fleming <kevin+linux@km6g.us>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: linux-rtc@vger.kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200615105113.57770-2-kevin+linux@km6g.us
1 file changed