From: Mark Brown Date: Sat, 30 Sep 2023 23:47:06 +0000 (+0100) Subject: mfd: max77686: Convert to use maple tree register cache X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=728f337477a7559e1f6316d8d32394cbd4084689;p=linux.git 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Link: https://lore.kernel.org/r/20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c index 91c286c4571cb..0118a444a68b1 100644 --- a/drivers/mfd/max77686.c +++ b/drivers/mfd/max77686.c @@ -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[] = {