rtc: pcf85363: drop a struct rtc_class_ops
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Jan 2021 23:17:45 +0000 (00:17 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 16 Jan 2021 22:19:26 +0000 (23:19 +0100)
commit732b7341b1411c85c8f7f5f7bf1081b5ca8735bd
tree218e6eb975d751646220ba935be61f8b791db672
parentaaaea29cb1f7af9889a726cfd116285968935358
rtc: pcf85363: drop a struct rtc_class_ops

Merge both struct rtc_class_ops in a single one and use RTC_FEATURE_ALARM
to signal to the core whether alarms are available.

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