summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-08-21 13:27:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-08-21 13:27:51 -0700
commit0b3baec853d1de731d2e984f26b92c54842c6ff7 (patch)
tree5398e6dfb0049f686f1eed82390ba7652467731a /drivers
parente3181f2c0c1bd1c066e9359998131eb524309a8e (diff)
parent03619844d81d7459874e88034f0f36d959f0e2df (diff)
downloadlinux-0b3baec853d1de731d2e984f26b92c54842c6ff7.tar.bz2
Merge tag 'rtc-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
Pull RTC fix from Alexandre Belloni: "Fix regmap configuration for ds1307" * tag 'rtc-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: ds1307: fix regmap config
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-ds1307.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 4fac49e55d47..4b43aa62fbc7 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -1301,7 +1301,6 @@ static void ds1307_clks_register(struct ds1307 *ds1307)
static const struct regmap_config regmap_config = {
.reg_bits = 8,
.val_bits = 8,
- .max_register = 0x12,
};
static int ds1307_probe(struct i2c_client *client,