Commit 728f3374 authored by Mark Brown's avatar Mark Brown Committed by Lee Jones
Browse files

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: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent fc12429b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ static const struct regmap_config max77802_regmap_config = {
	.precious_reg = max77802_is_precious_reg,
	.volatile_reg = max77802_is_volatile_reg,
	.name = "max77802-pmic",
	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_MAPLE,
};

static const struct regmap_irq max77686_irqs[] = {