]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtc: mv: remove mv_rtc_alarm_ops
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Jan 2021 23:17:40 +0000 (00:17 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 16 Jan 2021 22:19:26 +0000 (23:19 +0100)
commitb0d42defe1c74c0df3342ae13d5283c0732ffacf
treea4ea2b50afb384ab50b8de52f6d5656749e20dc7
parent30f5bd537fdb6124b9955858b301577ce4eb8dcd
rtc: mv: remove mv_rtc_alarm_ops

Move the alarm callbacks in mv_rtc_ops and clear RTC_FEATURE_ALARM to
signal that alarms are not available instead of having a supplementary
struct rtc_class_ops.

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