mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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 <broonie@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Link: https://lore.kernel.org/r/20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
fc12429b40
commit
728f337477
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user