mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
382d4ee445
commit
5410aa3aa7
|
|
@ -214,7 +214,7 @@ static const struct regmap_config pf9453_regmap_config = {
|
||||||
.val_bits = 8,
|
.val_bits = 8,
|
||||||
.volatile_table = &pf9453_volatile_regs,
|
.volatile_table = &pf9453_volatile_regs,
|
||||||
.max_register = PF9453_MAX_REG - 1,
|
.max_register = PF9453_MAX_REG - 1,
|
||||||
.cache_type = REGCACHE_RBTREE,
|
.cache_type = REGCACHE_MAPLE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue