rtc: pcf8523: avoid reading BLF in pcf8523_rtc_read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 Oct 2021 19:24:00 +0000 (21:24 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:21:05 +0000 (17:21 +0200)
commit7d7234a4fff395ab17b021ec18f852e8ec8703b3
treef23940f37f66f766e17e43ab5a40cd8214b0a8e1
parent6084eac38e765c5ee1338f4e9b1ad3321f4c53eb
rtc: pcf8523: avoid reading BLF in pcf8523_rtc_read_time

BLF, battery low doesn't mean the time is imprecise or invalid, it simply mean
the backup battery has to be replaced. This information can be read using the
VL_READ ioctl.

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