Skip to content

Commit 214fbbd

Browse files
broonielag-linaro
authored andcommitted
mfd: tps65912: Convert to use maple tree register cache
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 535cd57 commit 214fbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/tps65912-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static const struct regmap_access_table tps65912_volatile_table = {
8181
const struct regmap_config tps65912_regmap_config = {
8282
.reg_bits = 8,
8383
.val_bits = 8,
84-
.cache_type = REGCACHE_RBTREE,
84+
.cache_type = REGCACHE_MAPLE,
8585
.volatile_table = &tps65912_volatile_table,
8686
};
8787
EXPORT_SYMBOL_GPL(tps65912_regmap_config);

0 commit comments

Comments
 (0)