summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-08-21 22:27:51 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-08-21 22:27:51 +0200
commit0b3baec853d1de731d2e984f26b92c54842c6ff7 (patch)
tree5398e6dfb0049f686f1eed82390ba7652467731a
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
parentrtc: ds1307: fix regmap config (diff)
downloadlinux-0b3baec853d1de731d2e984f26b92c54842c6ff7.tar.xz
linux-0b3baec853d1de731d2e984f26b92c54842c6ff7.zip
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
-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,