diff options
author | Bastian Krause <bst@pengutronix.de> | 2020-09-17 20:32:44 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-09-24 09:56:04 +0200 |
commit | 95a74cbb21a2431dd2fd8918fa26113629b6e13e (patch) | |
tree | 2f3bf25d3084c113fb2fbb192e12cba6c39f4505 /block/blk-integrity.c | |
parent | 1b5b6af788ae59ee73e3f3230dbfa4f0e31d8d18 (diff) | |
download | linux-95a74cbb21a2431dd2fd8918fa26113629b6e13e.tar.bz2 |
rtc: ds1307: store previous charge default per chip
Some RTC's batteries and supercaps were charged by default until now.
In contrast other RTCs allow charging but the driver did not configure
them to do so until now. These must not be charged by default to stay
backwards compatible.
In order to do that, store the charge default per chip.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200917183246.19446-7-bst@pengutronix.de
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions