rtc: pcf2127: report battery switch over
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:03:35 +0000 (16:03 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:04:44 +0000 (16:04 +0200)
commit7d65cf8c1f0ae59ef87e88067379188b46509538
treec2a03f7fa1e260a08a44fe618a4bc48349fa0a23
parent040e6dc0911c86add1ec3140432672e626b9d4ae
rtc: pcf2127: report battery switch over

Add support for the RTC_VL_BACKUP_SWITCH flag to report battery switch over
events.

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