summaryrefslogtreecommitdiff
path: root/drivers/mfd/rc5t583.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/rc5t583.c')
-rw-r--r--drivers/mfd/rc5t583.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/rc5t583.c b/drivers/mfd/rc5t583.c
index e10f02f5d..fc2b2d93f 100644
--- a/drivers/mfd/rc5t583.c
+++ b/drivers/mfd/rc5t583.c
@@ -241,8 +241,8 @@ static const struct regmap_config rc5t583_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.volatile_reg = volatile_reg,
- .max_register = RC5T583_MAX_REGS,
- .num_reg_defaults_raw = RC5T583_MAX_REGS,
+ .max_register = RC5T583_MAX_REG,
+ .num_reg_defaults_raw = RC5T583_NUM_REGS,
.cache_type = REGCACHE_RBTREE,
};