summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-09-24 19:22:04 +0300
committerLee Jones <lee@kernel.org>2024-10-16 11:04:10 +0300
commit63c1bce0ecd8f0d70f72fc1a4c239b6c4b873763 (patch)
treed3e318700d5af9fc0c49aa9afc5342a36144cacf
parent7613bc0d116ae9ee7fdda88d89057050b5e10b11 (diff)
downloadlinux-63c1bce0ecd8f0d70f72fc1a4c239b6c4b873763.tar.xz
mfd: bd96801: Use maple tree register cache
The maple tree register cache uses a more modern data structure than the rbtree cache and makes implementation decisions more suited to modern hardware, switch the bd96801 driver to it to take advantage of this newer code. No functional changes. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/20240924-mfd-bd96801-maple-v1-1-04fe33e1f009@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r--drivers/mfd/rohm-bd96801.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rohm-bd96801.c b/drivers/mfd/rohm-bd96801.c
index 714f08ed544b..f118e63d9b7d 100644
--- a/drivers/mfd/rohm-bd96801.c
+++ b/drivers/mfd/rohm-bd96801.c
@@ -194,7 +194,7 @@ static const struct regmap_config bd96801_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.volatile_table = &volatile_regs,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int bd96801_i2c_probe(struct i2c_client *i2c)