]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtc: rx8010: drop a struct rtc_class_ops
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Jan 2021 23:17:44 +0000 (00:17 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 16 Jan 2021 22:19:26 +0000 (23:19 +0100)
commitaaaea29cb1f7af9889a726cfd116285968935358
treec2ed3f73ee163b573d35363b5043e4ea72618308
parentd4eaffe28bc1e4d55bd69a9462259135cc20aacc
rtc: rx8010: 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-10-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rx8010.c