mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 21:50:17 -05:00
power: supply: rt9455: 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://lore.kernel.org/r/20250228080236.2759-9-liubo03@inspur.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
committed by
Sebastian Reichel
parent
dde0409a22
commit
af4499fb2a
@@ -1579,7 +1579,7 @@ static const struct regmap_config rt9455_regmap_config = {
|
||||
.writeable_reg = rt9455_is_writeable_reg,
|
||||
.volatile_reg = rt9455_is_volatile_reg,
|
||||
.max_register = RT9455_REG_MASK3,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
};
|
||||
|
||||
static int rt9455_probe(struct i2c_client *client)
|
||||
|
||||
Reference in New Issue
Block a user