diff options
author | Bo Liu <liubo03@inspur.com> | 2025-04-23 21:08:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-24 12:56:29 +0100 |
commit | 5410aa3aa7f7dfcbdfcf94034595765d7e69ead3 (patch) | |
tree | ec29586f6cf6b2827f0d3bedbcd4f7af9d6781b3 | |
parent | 382d4ee4455234b498f201c00bfc120dc38b78c3 (diff) |
regulator: pf9453: 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: Bo Liu <liubo03@inspur.com>
Link: https://patch.msgid.link/20250424010855.2662-1-liubo03@inspur.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/pf9453-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pf9453-regulator.c b/drivers/regulator/pf9453-regulator.c index b58c9c0a5022..be627f49b617 100644 --- a/drivers/regulator/pf9453-regulator.c +++ b/drivers/regulator/pf9453-regulator.c @@ -214,7 +214,7 @@ static const struct regmap_config pf9453_regmap_config = { .val_bits = 8, .volatile_table = &pf9453_volatile_regs, .max_register = PF9453_MAX_REG - 1, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; /* |