rtc: pcf2127: return meaningful value for RTC_VL_READ
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:02:46 +0000 (23:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:23 +0000 (10:37 +0100)
commitaf4273116d2ccc6e7712de54169d4a9998d52f8a
tree8adea75e36c0944884473bb0bbe55b21e02a0df7
parent9f05342a9720a37096cbbead70909430c2e56358
rtc: pcf2127: return meaningful value for RTC_VL_READ

PCF2127_BIT_CTRL3_BLF indicates the battery is low and needs to be replaced
soon.

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