rtc: imx-sc: remove .read_alarm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Apr 2021 23:52:05 +0000 (01:52 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Apr 2021 21:03:26 +0000 (23:03 +0200)
commit7942121b8ca073932529e7122a573ec2d1ed0d93
tree68128483189262877b18a619b71dbda1ca48b959
parent9b9310445f5a6741399ebe2ba08137fecd7f73f9
rtc: imx-sc: remove .read_alarm

The RTC core properly handles RTC without .read_alarm and doesn't use it to
set alarms. .read_alarm can be safely dropped.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210417235205.994119-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-imx-sc.c