Skip to content

Commit 5410aa3

Browse files
Bo Liubroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 382d4ee commit 5410aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/pf9453-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static const struct regmap_config pf9453_regmap_config = {
214214
.val_bits = 8,
215215
.volatile_table = &pf9453_volatile_regs,
216216
.max_register = PF9453_MAX_REG - 1,
217-
.cache_type = REGCACHE_RBTREE,
217+
.cache_type = REGCACHE_MAPLE,
218218
};
219219

220220
/*

0 commit comments

Comments
 (0)