Skip to content

Commit 728f337

Browse files
broonielag-linaro
authored andcommitted
mfd: max77686: 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]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent fc12429 commit 728f337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/max77686.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static const struct regmap_config max77802_regmap_config = {
108108
.precious_reg = max77802_is_precious_reg,
109109
.volatile_reg = max77802_is_volatile_reg,
110110
.name = "max77802-pmic",
111-
.cache_type = REGCACHE_RBTREE,
111+
.cache_type = REGCACHE_MAPLE,
112112
};
113113

114114
static const struct regmap_irq max77686_irqs[] = {

0 commit comments

Comments
 (0)