summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7310.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adt7310.c')
-rw-r--r--drivers/hwmon/adt7310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7310.c b/drivers/hwmon/adt7310.c
index 067865f488..25281739aa 100644
--- a/drivers/hwmon/adt7310.c
+++ b/drivers/hwmon/adt7310.c
@@ -124,7 +124,7 @@ static int adt7310_reg_write(void *context, unsigned int reg, unsigned int val)
static const struct regmap_config adt7310_regmap_config = {
.reg_bits = 8,
.val_bits = 16,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.volatile_reg = adt7310_regmap_is_volatile,
.reg_read = adt7310_reg_read,
.reg_write = adt7310_reg_write,